Henri Verbeet : wined3d: Fix the STATE_BASEVERTEXINDEX state entry.

Alexandre Julliard julliard at winehq.org
Tue Jun 21 12:25:40 CDT 2011


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Mon Jun 20 23:21:12 2011 +0200

wined3d: Fix the STATE_BASEVERTEXINDEX state entry.

---

 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 75c2da6..77dd1dd 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -5062,7 +5062,7 @@ const struct StateEntryTemplate misc_state_template[] = {
     { STATE_SAMPLER(17), /* Vertex sampler 1 */           { STATE_SAMPLER(17),                                  sampler             }, WINED3D_GL_EXT_NONE             },
     { 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_BASEVERTEXINDEX,                              state_nop,          }, ARB_DRAW_ELEMENTS_BASE_VERTEX   },
     { 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