From: Brian Paul Date: Sun, 6 Feb 2000 03:03:02 +0000 (+0000) Subject: added missing glGet cases for GL_EXT_compiled_vertex_array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b6fec7a6f0d23348c49b430d8ffbe0f47ff0820;p=mesa.git added missing glGet cases for GL_EXT_compiled_vertex_array --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index b0a7fc677ef..ed0ba23da8a 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -1,4 +1,4 @@ -/* $Id: get.c,v 1.11 2000/02/05 01:52:05 brianp Exp $ */ +/* $Id: get.c,v 1.12 2000/02/06 03:03:02 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -969,6 +969,14 @@ _mesa_GetBooleanv( GLenum pname, GLboolean *params ) *params = 0; break; + /* GL_EXT_compiled_vertex_array */ + case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: + *params = ctx->Array.LockFirst ? GL_TRUE : GL_FALSE; + break; + case GL_ARRAY_ELEMENT_LOCK_COUNT_EXT: + *params = ctx->Array.LockCount ? GL_TRUE : GL_FALSE; + break; + /* GL_ARB_transpose_matrix */ case GL_TRANSPOSE_COLOR_MATRIX_ARB: /* don't have a color matrix */ @@ -1924,6 +1932,14 @@ _mesa_GetDoublev( GLenum pname, GLdouble *params ) *params = 0; break; + /* GL_EXT_compiled_vertex_array */ + case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: + *params = (GLdouble) ctx->Array.LockFirst; + break; + case GL_ARRAY_ELEMENT_LOCK_COUNT_EXT: + *params = (GLdouble) ctx->Array.LockCount; + break; + /* GL_ARB_transpose_matrix */ case GL_TRANSPOSE_COLOR_MATRIX_ARB: /* don't have a color matrix */ @@ -2877,6 +2893,14 @@ _mesa_GetFloatv( GLenum pname, GLfloat *params ) *params = 0; break; + /* GL_EXT_compiled_vertex_array */ + case GL_ARRAY_ELEMENT_LOCK_FIRST_EXT: + *params = (GLfloat) ctx->Array.LockFirst; + break; + case GL_ARRAY_ELEMENT_LOCK_COUNT_EXT: + *params = (GLfloat) ctx->Array.LockCount; + break; + /* GL_ARB_transpose_matrix */ case GL_TRANSPOSE_COLOR_MATRIX_ARB: /* don't have a color matrix */