wined3d: Add a checkGLcall() at the end of loadTexCoords()

Henri Verbeet hverbeet at codeweavers.com
Wed Sep 17 10:51:49 CDT 2008


To prevent GL errors in loadTexCoords from showing up in different state handlers
---
 dlls/wined3d/state.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index 355996b..77b7a86 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) {
-- 
1.5.6.4




--------------040502090506050207010705--



More information about the wine-patches mailing list