mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
OpenGL: Use glGetProgramiv instead of the extension function.
(cherry picked from commit 3a76435edaf532f6e38dcbc3002d525598dbeb97)
This commit is contained in:
parent
33027b8f66
commit
17f220590b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user