From 3a76435edaf532f6e38dcbc3002d525598dbeb97 Mon Sep 17 00:00:00 2001 From: dsa-t Date: Thu, 9 Jun 2022 20:29:07 +0300 Subject: [PATCH] OpenGL: Use glGetProgramiv instead of the extension function. --- common/gal/opengl/shader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/gal/opengl/shader.cpp b/common/gal/opengl/shader.cpp index 6df3717541..d245f707c0 100644 --- a/common/gal/opengl/shader.cpp +++ b/common/gal/opengl/shader.cpp @@ -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