Commit 72581f0c authored by hybrid's avatar hybrid

Fix copy'n'paste bug found by booltox.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3276 dfc29bdd-3216-0410-991c-e03cc46cb475
parent b6d83d97
...@@ -1502,7 +1502,7 @@ inline void COpenGLExtensionHandler::extGlGetProgramiv(GLuint program, GLenum ty ...@@ -1502,7 +1502,7 @@ inline void COpenGLExtensionHandler::extGlGetProgramiv(GLuint program, GLenum ty
if (pGlGetProgramiv) if (pGlGetProgramiv)
pGlGetProgramiv(program, type, param); pGlGetProgramiv(program, type, param);
#elif defined(GL_VERSION_2_0) #elif defined(GL_VERSION_2_0)
glGetShaderiv(program, type, param); glGetProgramiv(program, type, param);
#else #else
os::Printer::log("glGetProgramiv not supported", ELL_ERROR); os::Printer::log("glGetProgramiv not supported", ELL_ERROR);
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment