=?UTF-8?Q?Stefan=20D=C3=B6singer=20?=: wined3d: GL_ARB_instanced_arrays provides glDrawElementsInstanced.
Alexandre Julliard
julliard at winehq.org
Mon Nov 4 13:59:20 CST 2013
Module: wine
Branch: master
Commit: 292612cf4b4a906d273d096ffc2a8c25a0e735ac
URL: http://source.winehq.org/git/wine.git/?a=commit;h=292612cf4b4a906d273d096ffc2a8c25a0e735ac
Author: Stefan Dösinger <stefan at 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");
}
More information about the wine-cvs
mailing list