Mesa (master): mesa: GL_PROVOKING_VERTEX_EXT is a GLenum, not GLboolean.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Apr 30 15:21:17 PDT 2011


Module: Mesa
Branch: master
Commit: dc9e5ed5e1d42261d6d113a7fe7e8fd4d94e169f
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dc9e5ed5e1d42261d6d113a7fe7e8fd4d94e169f

Author: José Fonseca <jose.r.fonseca at gmail.com>
Date:   Sat Apr 30 22:36:18 2011 +0100

mesa: GL_PROVOKING_VERTEX_EXT is a GLenum, not GLboolean.

---

 src/mesa/main/get.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index e933bbe..0492e15 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -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 },



More information about the mesa-commit mailing list