'''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_ARB_provoking_vertex'
def _f( function ):
    return _p.createFunction( function,_p.GL,'GL_ARB_provoking_vertex',False)
_p.unpack_constants( """GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
GL_FIRST_VERTEX_CONVENTION 0x8E4D
GL_LAST_VERTEX_CONVENTION 0x8E4E
GL_PROVOKING_VERTEX 0x8E4F""", globals())
glget.addGLGetConstant( GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION, (1,) )
glget.addGLGetConstant( GL_PROVOKING_VERTEX, (1,) )
@_f
@_p.types(None,_cs.GLenum)
def glProvokingVertex( mode ):pass


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