Commit 3cc32d1a authored by hybrid's avatar hybrid

Add check for support in extension string.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2617 dfc29bdd-3216-0410-991c-e03cc46cb475
parent d9a73b87
......@@ -1651,9 +1651,9 @@ inline void COpenGLExtensionHandler::extGlGetBufferPointerv (GLenum target, GLen
inline void COpenGLExtensionHandler::extGlProvokingVertex(GLenum mode)
{
#ifdef _IRR_OPENGL_USE_EXTPOINTER_
if (pGlProvokingVertexARB)
if (FeatureAvailable[IRR_ARB_provoking_vertex] && pGlProvokingVertexARB)
pGlProvokingVertexARB(mode);
else if (pGlProvokingVertexEXT)
else if (FeatureAvailable[IRR_EXT_provoking_vertex] && pGlProvokingVertexEXT)
pGlProvokingVertexEXT(mode);
#elif defined(GL_ARB_provoking_vertex)
glProvokingVertex(mode);
......
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