Commit 6b3ce459 authored by hybrid's avatar hybrid

Fix return value of extension.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@3263 dfc29bdd-3216-0410-991c-e03cc46cb475
parent dc41969f
...@@ -2127,11 +2127,11 @@ inline GLboolean COpenGLExtensionHandler::extGlIsQuery(GLuint id) ...@@ -2127,11 +2127,11 @@ inline GLboolean COpenGLExtensionHandler::extGlIsQuery(GLuint id)
{ {
#ifdef _IRR_OPENGL_USE_EXTPOINTER_ #ifdef _IRR_OPENGL_USE_EXTPOINTER_
if (pGlIsQueryARB) if (pGlIsQueryARB)
pGlIsQueryARB(id); return pGlIsQueryARB(id);
#elif defined(GL_ARB_occlusion_query) #elif defined(GL_ARB_occlusion_query)
glIsQueryARB(id); return glIsQueryARB(id);
#else #else
os::Printer::log("glIsQueryARB not supported", ELL_ERROR); return false;
#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