Module: wine Branch: master Commit: 292612cf4b4a906d273d096ffc2a8c25a0e735ac URL: http://source.winehq.org/git/wine.git/?a=commit;h=292612cf4b4a906d273d096ffc...
Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Nov 4 12:38:34 2013 +0100
wined3d: GL_ARB_instanced_arrays provides glDrawElementsInstanced.
---
dlls/wined3d/drawprim.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index 2475644..14149b5 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -44,7 +44,7 @@ static void drawStridedFast(const struct wined3d_gl_info *gl_info, GLenum primit GLenum idxtype = idx_size == 2 ? GL_UNSIGNED_SHORT : GL_UNSIGNED_INT; if (instance_count) { - if (!gl_info->supported[ARB_DRAW_INSTANCED]) + if (!gl_info->supported[ARB_DRAW_INSTANCED] && !gl_info->supported[ARB_INSTANCED_ARRAYS]) { FIXME("Instanced drawing not supported.\n"); }