mesa: remove never-defined FEATURE_histogram conditional.
authorOliver McFadden <oliver.mcfadden@linux.intel.com>
Thu, 13 Sep 2012 07:53:29 +0000 (10:53 +0300)
committerOliver McFadden <oliver.mcfadden@linux.intel.com>
Sat, 15 Sep 2012 09:57:59 +0000 (12:57 +0300)
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/histogram.c
src/mesa/main/histogram.h

index 44fc1325cebd7e8753c2f9c700be8b620cbcbdc3..d3dc7ddc4b84b1a79d93e652b7d3f14f6542648e 100644 (file)
@@ -32,8 +32,6 @@
 #include "main/dispatch.h"
 
 
-#if FEATURE_histogram
-
 /**********************************************************************
  * API functions
  */
@@ -169,5 +167,3 @@ _mesa_init_histogram_dispatch(struct _glapi_table *disp)
    SET_GetnHistogramARB(disp, _mesa_GetnHistogramARB);
    SET_GetnMinmaxARB(disp, _mesa_GetnMinmaxARB);
 }
-
-#endif /* FEATURE_histogram */
index d97e74abbadcd4a793b527c8bcee7e9668b1adc7..a9c312152b0f78b03cccf80cf2675609f05d18c7 100644 (file)
 
 struct _glapi_table;
 
-#if FEATURE_histogram
-
 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 */
-
 #endif /* HISTOGRAM_H */