From 6efdf648f51fd1ae27043b2c59e9965467fb1ddb Mon Sep 17 00:00:00 2001 From: Bruce Merry Date: Mon, 14 May 2007 09:37:48 -0600 Subject: in __glXGetArrayType() return type, not enabled (bug 10938) --- src/glx/x11/indirect_vertex_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/glx/x11') 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); -- cgit v1.2.3