'''OpenGL extension EXT.provoking_vertex

The official definition of this extension is available here:
	http://oss.sgi.com/projects/ogl-sample/registry/EXT/provoking_vertex.txt

Automatically generated by the get_gl_extensions script, do not edit!
'''
from OpenGL import platform, constants, constant, arrays
from OpenGL import extensions
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_EXT_provoking_vertex'
GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT', 0x8E4C )
GL_FIRST_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_FIRST_VERTEX_CONVENTION_EXT', 0x8E4D )
GL_LAST_VERTEX_CONVENTION_EXT = constant.Constant( 'GL_LAST_VERTEX_CONVENTION_EXT', 0x8E4E )
GL_PROVOKING_VERTEX_EXT = constant.Constant( 'GL_PROVOKING_VERTEX_EXT', 0x8E4F )
glProvokingVertexEXT = platform.createExtensionFunction( 
	'glProvokingVertexEXT', dll=platform.GL,
	extension=EXTENSION_NAME,
	resultType=None, 
	argTypes=(constants.GLenum,),
	doc = 'glProvokingVertexEXT( GLenum(mode) ) -> None',
	argNames = ('mode',),
)


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