From 1a3359884c73692b30ffa28f88361c27381a1c9f Mon Sep 17 00:00:00 2001 From: Roderick Colenbrander Date: Fri, 11 Aug 2006 01:04:24 +0200 Subject: [PATCH] wined3d: Fix opengl extension call. --- dlls/wined3d/drawprim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wined3d/drawprim.c b/dlls/wined3d/drawprim.c index 434fab9a068..360efddd2b3 100644 --- a/dlls/wined3d/drawprim.c +++ b/dlls/wined3d/drawprim.c @@ -859,7 +859,7 @@ static void unloadVertexData(IWineD3DDevice *iface) { glDisableClientState(GL_SECONDARY_COLOR_ARRAY_EXT); } 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); } }