'''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_provoking_vertex'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_EXT_provoking_vertex',False)
_p.unpack_constants( """GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
GL_PROVOKING_VERTEX_EXT 0x8E4F""", globals())
glget.addGLGetConstant( GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT, (1,) )
glget.addGLGetConstant( GL_PROVOKING_VERTEX_EXT, (1,) )
@_f
@_p.types(None,_cs.GLenum)
def glProvokingVertexEXT( mode ):pass


def glInitProvokingVertexEXT():
    '''Return boolean indicating whether this extension is available'''
    from OpenGL import extensions
    return extensions.hasGLExtension( EXTENSION_NAME )
