Stefan Dösinger : wined3d: Use GL_EXTCALL.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Sep 26 05:30:10 CDT 2006


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Sep 26 00:13:55 2006 +0200

wined3d: Use GL_EXTCALL.

That fixes compilation with gl headers that do not know about glUniform4fvARB.

---

 dlls/wined3d/glsl_shader.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/glsl_shader.c b/dlls/wined3d/glsl_shader.c
index 0554392..0e48cdb 100644
--- a/dlls/wined3d/glsl_shader.c
+++ b/dlls/wined3d/glsl_shader.c
@@ -319,7 +319,7 @@ void shader_glsl_load_constants(
         /* Upload the position fixup params */
         pos = GL_EXTCALL(glGetUniformLocationARB(programId, "posFixup"));
         checkGLcall("glGetUniformLocationARB");
-        glUniform4fvARB(pos, 1, &vshader_impl->wineD3DDevice->posFixup[0]);
+        GL_EXTCALL(glUniform4fvARB(pos, 1, &vshader_impl->wineD3DDevice->posFixup[0]));
         checkGLcall("glUniform4fvARB");
     }
 




More information about the wine-cvs mailing list