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

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sat Apr 30 14:56:39 PDT 2011


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

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 d5eef49..b6d2a99 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -1155,7 +1155,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