summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/get.c
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2011-03-22 22:45:21 +0000
committerJosé Fonseca <jfonseca@vmware.com>2011-03-22 22:48:02 +0000
commitf6970872c083a813a6d6ce9ce0cde2375da6dcbc (patch)
tree71d2677140307a32f644b7a258a7250d23902105 /src/mesa/main/get.c
parent8d7c12de1e3bce6c14ed6b79b64c2bce48e560a5 (diff)
downloadexternal_mesa3d-f6970872c083a813a6d6ce9ce0cde2375da6dcbc.zip
external_mesa3d-f6970872c083a813a6d6ce9ce0cde2375da6dcbc.tar.gz
external_mesa3d-f6970872c083a813a6d6ce9ce0cde2375da6dcbc.tar.bz2
mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*).
Diffstat (limited to 'src/mesa/main/get.c')
-rw-r--r--src/mesa/main/get.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c
index 7d1a5cf..f87cb0d 100644
--- a/src/mesa/main/get.c
+++ b/src/mesa/main/get.c
@@ -582,11 +582,11 @@ static const struct value_desc values[] = {
{ GL_TEXTURE_COORD_ARRAY,
LOC_CUSTOM, TYPE_BOOLEAN, offsetof(struct gl_client_array, Enabled), NO_EXTRA },
{ GL_TEXTURE_COORD_ARRAY_SIZE,
- LOC_CUSTOM, TYPE_BOOLEAN, offsetof(struct gl_client_array, Size), NO_EXTRA },
+ LOC_CUSTOM, TYPE_INT, offsetof(struct gl_client_array, Size), NO_EXTRA },
{ GL_TEXTURE_COORD_ARRAY_TYPE,
- LOC_CUSTOM, TYPE_BOOLEAN, offsetof(struct gl_client_array, Type), NO_EXTRA },
+ LOC_CUSTOM, TYPE_ENUM, offsetof(struct gl_client_array, Type), NO_EXTRA },
{ GL_TEXTURE_COORD_ARRAY_STRIDE,
- LOC_CUSTOM, TYPE_BOOLEAN, offsetof(struct gl_client_array, Stride), NO_EXTRA },
+ LOC_CUSTOM, TYPE_INT, offsetof(struct gl_client_array, Stride), NO_EXTRA },
/* GL_ARB_ES2_compatibility */
{ GL_SHADER_COMPILER, CONST(1), extra_ARB_ES2_compatibility },