summaryrefslogtreecommitdiffstats
path: root/src/glx
diff options
context:
space:
mode:
authorBruce Merry <[email protected]>2007-05-14 09:37:48 -0600
committerBrian <[email protected]>2007-05-14 09:38:23 -0600
commit6efdf648f51fd1ae27043b2c59e9965467fb1ddb (patch)
treea0c0c7695db8765f8d84bfcd43ec25c946725910 /src/glx
parent6a587c01242b6227658ea1160efa34a221d52368 (diff)
in __glXGetArrayType() return type, not enabled (bug 10938)
Diffstat (limited to 'src/glx')
-rw-r--r--src/glx/x11/indirect_vertex_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glx/x11/indirect_vertex_array.c b/src/glx/x11/indirect_vertex_array.c
index 1855547dced..90ec277c41b 100644
--- a/src/glx/x11/indirect_vertex_array.c
+++ b/src/glx/x11/indirect_vertex_array.c
@@ -1667,7 +1667,7 @@ __glXGetArrayType( const __GLXattribute * const state,
key, index );
if ( a != NULL ) {
- *dest = (GLintptr) a->enabled;
+ *dest = (GLintptr) a->data_type;
}
return (a != NULL);