mesa: Fix core GL genned-name handling for glBeginQuery().
[mesa.git] / src / mesa / main / attrib.h
index 2cf8fe693453a12414cb468f85be3714c966d3ab..f75c3c5ced5d03995eddc0de5772b7e2463263d7 100644 (file)
 #define ATTRIB_H
 
 
-#include "mtypes.h"
+#include "compiler.h"
+#include "glheader.h"
+#include "mfeatures.h"
 
-
-#if _HAVE_FULL_GL
+struct _glapi_table;
+struct gl_context;
 
 extern void GLAPIENTRY
 _mesa_PushAttrib( GLbitfield mask );
@@ -43,18 +45,13 @@ _mesa_PushClientAttrib( GLbitfield mask );
 extern void GLAPIENTRY
 _mesa_PopClientAttrib( void );
 
-extern void 
-_mesa_init_attrib( GLcontext *ctx );
+extern void
+_mesa_init_attrib_dispatch(struct _glapi_table *disp);
 
 extern void 
-_mesa_free_attrib_data( GLcontext *ctx );
-
-#else
+_mesa_init_attrib( struct gl_context *ctx );
 
-/** No-op */
-#define _mesa_init_attrib( c ) ((void)0)
-#define _mesa_free_attrib_data( c ) ((void)0)
-
-#endif
+extern void 
+_mesa_free_attrib_data( struct gl_context *ctx );
 
-#endif
+#endif /* ATTRIB_H */