Module: wine Branch: master Commit: 581c24ef4e2ba370583ae4989034a4f1b42ae0fd URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=581c24ef4e2ba370583ae498...
Author: Stefan Dösinger stefan@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"); }