mirror of https://github.com/bkaradzic/bgfx
Fixed #2368.
This commit is contained in:
parent
d8cfb8f64d
commit
16f441758f
|
@ -477,6 +477,7 @@ GL_IMPORT_IMG__(true, PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC, glRenderbuffe
|
|||
# endif // BGFX_CONFIG_RENDERER_OPENGL
|
||||
|
||||
GL_IMPORT______(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker);
|
||||
GL_IMPORT_ARB__(true, PFNGLPROVOKINGVERTEXPROC, glProvokingVertex);
|
||||
GL_IMPORT_ARB__(true, PFNGLPUSHDEBUGGROUPPROC, glPushDebugGroup);
|
||||
GL_IMPORT_ARB__(true, PFNGLPOPDEBUGGROUPPROC, glPopDebugGroup);
|
||||
GL_IMPORT______(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker);
|
||||
|
@ -523,6 +524,7 @@ GL_IMPORT______(true, PFNGLTEXIMAGE3DMULTISAMPLEPROC, glTexImage3DM
|
|||
GL_IMPORT_EXT__(true, PFNGLFRAMEBUFFERTEXTURELAYERPROC, glFramebufferTextureLayer);
|
||||
|
||||
GL_IMPORT_EXT__(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker);
|
||||
GL_IMPORT_ARB__(true, PFNGLPROVOKINGVERTEXPROC, glProvokingVertex);
|
||||
GL_IMPORT_ARB__(true, PFNGLPUSHDEBUGGROUPPROC, glPushDebugGroup);
|
||||
GL_IMPORT_ARB__(true, PFNGLPOPDEBUGGROUPPROC, glPopDebugGroup);
|
||||
GL_IMPORT_EXT__(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker);
|
||||
|
@ -609,6 +611,7 @@ GL_IMPORT______(true, PFNGLTEXIMAGE3DMULTISAMPLEPROC, glTexImage3DM
|
|||
GL_IMPORT______(true, PFNGLFRAMEBUFFERTEXTURELAYERPROC, glFramebufferTextureLayer);
|
||||
|
||||
GL_IMPORT______(true, PFNGLINSERTEVENTMARKEREXTPROC, glInsertEventMarker);
|
||||
GL_IMPORT_ARB__(true, PFNGLPROVOKINGVERTEXPROC, glProvokingVertex);
|
||||
GL_IMPORT_ARB__(true, PFNGLPUSHDEBUGGROUPPROC, glPushDebugGroup);
|
||||
GL_IMPORT_ARB__(true, PFNGLPOPDEBUGGROUPPROC, glPopDebugGroup);
|
||||
GL_IMPORT______(true, PFNGLPUSHGROUPMARKEREXTPROC, glPushGroupMarker);
|
||||
|
|
|
@ -3005,7 +3005,8 @@ namespace bgfx { namespace gl
|
|||
GL_CHECK(glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS) );
|
||||
}
|
||||
|
||||
if (s_extension[Extension::ARB_provoking_vertex].m_supported)
|
||||
if (NULL != glProvokingVertex
|
||||
&& s_extension[Extension::ARB_provoking_vertex].m_supported)
|
||||
{
|
||||
GL_CHECK(glProvokingVertex(GL_FIRST_VERTEX_CONVENTION) );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue