in __glXGetArrayType() return type, not enabled (bug 10938)
authorBruce Merry <bmerry@gmail.com>
Mon, 14 May 2007 15:37:48 +0000 (09:37 -0600)
committerBrian <brian@yutani.localnet.net>
Mon, 14 May 2007 15:38:23 +0000 (09:38 -0600)
src/glx/x11/indirect_vertex_array.c

index 1855547..90ec277 100644 (file)
@@ -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);