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 1855547dced0ebbc902f4e9cc7631573ac7f89f5..90ec277c41ba2044329f689543e51d1d1080def8 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);