mesa: Fix core GL genned-name handling for glBeginQuery().
[mesa.git] / src / mesa / main / histogram.h
index dbae1bbd06b253413e00db6af95c03f2af34b216..a9c312152b0f78b03cccf80cf2675609f05d18c7 100644 (file)
 #ifndef HISTOGRAM_H
 #define HISTOGRAM_H
 
-#include "main/mtypes.h"
+#include "compiler.h"
+#include "mfeatures.h"
 
-#if FEATURE_histogram
+struct _glapi_table;
 
 extern void
 _mesa_init_histogram_dispatch(struct _glapi_table *disp);
 
-#else /* FEATURE_histogram */
-
-static INLINE void
-_mesa_init_histogram_dispatch(struct _glapi_table *disp)
-{
-}
-
-#endif /* FEATURE_histogram */
-
-extern void _mesa_init_histogram( GLcontext * ctx );
-
 #endif /* HISTOGRAM_H */