Stefan Dösinger : wined3d: Disable texture coordinate arrays on the correct unit.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Mar 27 06:58:40 CDT 2007
Module: wine
Branch: master
Commit: 5e405d3b263b1d19b52d9959f86f2a70680f5aef
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5e405d3b263b1d19b52d9959f86f2a70680f5aef
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sat Mar 24 16:05:34 2007 +0100
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));
}
More information about the wine-cvs
mailing list