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

Alexandre Julliard julliard at winehq.org
Thu Sep 18 07:55:43 CDT 2008


Module: wine
Branch: master
Commit: 9e3b9f8b41ac2de55fde7b3c63824bc70e8a6a9f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9e3b9f8b41ac2de55fde7b3c63824bc70e8a6a9f

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Sep 17 17:51:49 2008 +0200

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 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) {




More information about the wine-cvs mailing list