From: José Fonseca Date: Tue, 22 Mar 2011 22:45:21 +0000 (+0000) Subject: mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f6970872c083a813a6d6ce9ce0cde2375da6dcbc;p=mesa.git mesa: Fix typo glGet*v(GL_TEXTURE_COORD_ARRAY_*). --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 7d1a5cf6002..f87cb0df10e 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 },