wined3d: Disable texture coordinate arrays on the correct unit.

This commit is contained in:
Stefan Dösinger 2007-03-24 16:05:34 +01:00 committed by Alexandre Julliard
parent bee084503b
commit 5e405d3b26
1 changed files with 1 additions and 0 deletions

View File

@ -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));
}