wined3d: Fix opengl extension call.

This commit is contained in:
Roderick Colenbrander 2006-08-11 01:04:24 +02:00 committed by Alexandre Julliard
parent 5d37be9e56
commit 1a3359884c
1 changed files with 1 additions and 1 deletions

View File

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