mesa: GL_PROVOKING_VERTEX_EXT is a GLenum, not GLboolean.
authorJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 30 Apr 2011 21:36:18 +0000 (22:36 +0100)
committerJosé Fonseca <jose.r.fonseca@gmail.com>
Sat, 30 Apr 2011 21:38:00 +0000 (22:38 +0100)
src/mesa/main/get.c

index e933bbe0f284533d499cc5b8f0c97df82f944132..0492e1585c32cb6a49c1a9a6993098fbe31dbe5c 100644 (file)
@@ -1163,7 +1163,7 @@ static const struct value_desc values[] = {
 
    /* GL_EXT_provoking_vertex */
    { GL_PROVOKING_VERTEX_EXT,
-     CONTEXT_BOOL(Light.ProvokingVertex), extra_EXT_provoking_vertex },
+     CONTEXT_ENUM(Light.ProvokingVertex), extra_EXT_provoking_vertex },
    { GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT,
      CONTEXT_BOOL(Const.QuadsFollowProvokingVertexConvention),
      extra_EXT_provoking_vertex },