wined3d: Use GL_EXTCALL.
That fixes compilation with gl headers that do not know about glUniform4fvARB.
This commit is contained in:
parent
272196f514
commit
581c24ef4e
|
@ -319,7 +319,7 @@ void shader_glsl_load_constants(
|
||||||
/* Upload the position fixup params */
|
/* Upload the position fixup params */
|
||||||
pos = GL_EXTCALL(glGetUniformLocationARB(programId, "posFixup"));
|
pos = GL_EXTCALL(glGetUniformLocationARB(programId, "posFixup"));
|
||||||
checkGLcall("glGetUniformLocationARB");
|
checkGLcall("glGetUniformLocationARB");
|
||||||
glUniform4fvARB(pos, 1, &vshader_impl->wineD3DDevice->posFixup[0]);
|
GL_EXTCALL(glUniform4fvARB(pos, 1, &vshader_impl->wineD3DDevice->posFixup[0]));
|
||||||
checkGLcall("glUniform4fvARB");
|
checkGLcall("glUniform4fvARB");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue