OpenGL: Use glGetProgramiv instead of the extension function.

(cherry picked from commit 3a76435eda)
This commit is contained in:
dsa-t 2022-06-09 20:29:07 +03:00 committed by Seth Hillbrand
parent 33027b8f66
commit 17f220590b
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ bool SHADER::Link()
// Check the Link state
GLint tmp;
glGetObjectParameterivARB( programNumber, GL_OBJECT_LINK_STATUS_ARB, &tmp );
glGetProgramiv( programNumber, GL_LINK_STATUS, &tmp );
isShaderLinked = !!tmp;
#ifdef DEBUG