From 9e3b9f8b41ac2de55fde7b3c63824bc70e8a6a9f Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Wed, 17 Sep 2008 17:51:49 +0200 Subject: [PATCH] wined3d: Add a checkGLcall() at the end of loadTexCoords(). To prevent GL errors in loadTexCoords from showing up in different state handlers --- dlls/wined3d/state.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 355996bb9bc..77b7a86e868 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -3210,6 +3210,8 @@ static void loadTexCoords(IWineD3DStateBlockImpl *stateblock, WineDirect3DVertex GL_EXTCALL(glMultiTexCoord4fARB(GL_TEXTURE0_ARB + textureNo, 0, 0, 0, 1)); } } + + checkGLcall("loadTexCoords"); } static void tex_coordindex(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *context) { -- 2.11.4.GIT