wined3d: Fix opengl extension call.
This commit is contained in:
parent
5d37be9e56
commit
1a3359884c
|
@ -859,7 +859,7 @@ static void unloadVertexData(IWineD3DDevice *iface) {
|
||||||
glDisableClientState(GL_SECONDARY_COLOR_ARRAY_EXT);
|
glDisableClientState(GL_SECONDARY_COLOR_ARRAY_EXT);
|
||||||
}
|
}
|
||||||
for (texture_idx = 0; texture_idx < GL_LIMITS(textures); ++texture_idx) {
|
for (texture_idx = 0; texture_idx < GL_LIMITS(textures); ++texture_idx) {
|
||||||
glClientActiveTextureARB(GL_TEXTURE0_ARB + texture_idx);
|
GL_EXTCALL(glClientActiveTextureARB(GL_TEXTURE0_ARB + texture_idx));
|
||||||
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue