Stefan Dösinger : wined3d: Link STATE_BASEVERTEXINDEX to STATE_VDECL.

Alexandre Julliard julliard at winehq.org
Mon Jun 20 14:24:07 CDT 2011


Module: wine
Branch: master
Commit: 73cec67c14ff6e8f454e949d2c7507ec550d88f7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=73cec67c14ff6e8f454e949d2c7507ec550d88f7

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Sat Jun 18 13:47:34 2011 +0200

wined3d: Link STATE_BASEVERTEXINDEX to STATE_VDECL.

---

 dlls/wined3d/state.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 632388c..568ae87 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -5063,7 +5063,7 @@ const struct StateEntryTemplate misc_state_template[] = {
     { STATE_SAMPLER(18), /* Vertex sampler 2 */           { STATE_SAMPLER(18),                                  sampler             }, WINED3D_GL_EXT_NONE             },
     { STATE_SAMPLER(19), /* Vertex sampler 3 */           { STATE_SAMPLER(19),                                  sampler             }, WINED3D_GL_EXT_NONE             },
     { STATE_BASEVERTEXINDEX,                              { 0,                                                  NULL,               }, ARB_DRAW_ELEMENTS_BASE_VERTEX   },
-    { STATE_BASEVERTEXINDEX,                              { STATE_STREAMSRC,                                    NULL,               }, WINED3D_GL_EXT_NONE             },
+    { STATE_BASEVERTEXINDEX,                              { STATE_VDECL,                                        NULL,               }, WINED3D_GL_EXT_NONE             },
     {0 /* Terminate */,                                   { 0,                                                  0                   }, WINED3D_GL_EXT_NONE             },
 };
 




More information about the wine-cvs mailing list