diff options
author | Brian Paul <[email protected]> | 2000-02-06 03:03:02 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-02-06 03:03:02 +0000 |
commit | 0b6fec7a6f0d23348c49b430d8ffbe0f47ff0820 (patch) | |
tree | b8aec29a318f8d9b3933043b550656b1370125d8 /src | |
parent | df37c6bd65dcc76b775af84252c622dbc71e4b35 (diff) |
added missing glGet cases for GL_EXT_compiled_vertex_array
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/get.c | 26 |
1 files changed, 25 insertions, 1 deletions
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 */ |