[3/3] WineD3D: Disable texture coordinate arrays on the correct unit

Stefan Dösinger stefan at codeweavers.com
Sat Mar 24 17:11:42 CDT 2007


-------------- next part --------------
From 84b7ea2e2db105812474bcce283778aa6721cdc9 Mon Sep 17 00:00:00 2001
From: Stefan Doesinger <stefan at codeweavers.com>
Date: Sat, 24 Mar 2007 16:05:34 +0100
Subject: [PATCH] WineD3D: Disable texture coordinate arrays on the correct unit

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

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index bba49ee..e4d10e2 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -2848,6 +2848,7 @@ static void loadVertexData(IWineD3DStateBlockImpl *stateblock, WineDirect3DVerte
                 glEnableClientState(GL_TEXTURE_COORD_ARRAY);
             }
         } else if (!GL_SUPPORT(NV_REGISTER_COMBINERS)) {
+            GL_EXTCALL(glClientActiveTextureARB(GL_TEXTURE0_ARB + textureNo));
             glDisableClientState(GL_TEXTURE_COORD_ARRAY);
             GL_EXTCALL(glMultiTexCoord4fARB(GL_TEXTURE0_ARB + textureNo, 0, 0, 0, 1));
         }
-- 
1.4.4.3



More information about the wine-patches mailing list