OpenGL: Use glGetProgramiv instead of the extension function.
This commit is contained in:
parent
0e2d3236b5
commit
3a76435eda
|
@ -106,7 +106,7 @@ bool SHADER::Link()
|
||||||
|
|
||||||
// Check the Link state
|
// Check the Link state
|
||||||
GLint tmp;
|
GLint tmp;
|
||||||
glGetObjectParameterivARB( programNumber, GL_OBJECT_LINK_STATUS_ARB, &tmp );
|
glGetProgramiv( programNumber, GL_LINK_STATUS, &tmp );
|
||||||
isShaderLinked = !!tmp;
|
isShaderLinked = !!tmp;
|
||||||
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
|
Loading…
Reference in New Issue