summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorOliver McFadden <[email protected]>2012-09-13 10:53:29 +0300
committerOliver McFadden <[email protected]>2012-09-15 12:57:59 +0300
commit2bc8f03f4995b542784566928ff68b830283bf83 (patch)
tree791c819828c1e1504d18cb414d8ff00988367fe9 /src/mesa/main
parent9f37b405a3de8668a5f74c9681829688475ac3b7 (diff)
mesa: remove never-defined FEATURE_histogram conditional.
Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/histogram.c4
-rw-r--r--src/mesa/main/histogram.h11
2 files changed, 0 insertions, 15 deletions
diff --git a/src/mesa/main/histogram.c b/src/mesa/main/histogram.c
index 44fc1325ceb..d3dc7ddc4b8 100644
--- a/src/mesa/main/histogram.c
+++ b/src/mesa/main/histogram.c
@@ -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 */
diff --git a/src/mesa/main/histogram.h b/src/mesa/main/histogram.h
index d97e74abbad..a9c312152b0 100644
--- a/src/mesa/main/histogram.h
+++ b/src/mesa/main/histogram.h
@@ -41,18 +41,7 @@
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 */