From: Bruce Merry Date: Mon, 14 May 2007 15:37:48 +0000 (-0600) Subject: in __glXGetArrayType() return type, not enabled (bug 10938) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6efdf648f51fd1ae27043b2c59e9965467fb1ddb;p=mesa.git in __glXGetArrayType() return type, not enabled (bug 10938) --- 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);