[Mesa-dev] [PATCH 04/45] mesa: replace FEATURE_accum with FEATURE_GL define.
Oliver McFadden
oliver.mcfadden at linux.intel.com
Tue Sep 11 02:56:17 PDT 2012
Signed-off-by: Oliver McFadden <oliver.mcfadden at linux.intel.com>
---
src/mesa/main/accum.c | 4 ++--
src/mesa/main/accum.h | 6 +++---
src/mesa/main/mfeatures.h | 1 -
3 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c
index 16c26168..1eb8ad9 100644
--- a/src/mesa/main/accum.c
+++ b/src/mesa/main/accum.c
@@ -36,7 +36,7 @@
#include "main/dispatch.h"
-#if FEATURE_accum
+#if FEATURE_GL
void GLAPIENTRY
@@ -496,7 +496,7 @@ _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value)
}
-#endif /* FEATURE_accum */
+#endif /* FEATURE_GL */
void
diff --git a/src/mesa/main/accum.h b/src/mesa/main/accum.h
index 5b3f06a..1c48c41 100644
--- a/src/mesa/main/accum.h
+++ b/src/mesa/main/accum.h
@@ -44,7 +44,7 @@ struct _glapi_table;
struct gl_context;
struct gl_renderbuffer;
-#if FEATURE_accum
+#if FEATURE_GL
extern void GLAPIENTRY
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
@@ -58,7 +58,7 @@ _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value);
extern void
_mesa_clear_accum_buffer(struct gl_context *ctx);
-#else /* FEATURE_accum */
+#else /* FEATURE_GL */
#include "main/compiler.h"
@@ -85,7 +85,7 @@ _mesa_clear_accum_buffer(struct gl_context *ctx)
}
-#endif /* FEATURE_accum */
+#endif /* FEATURE_GL */
extern void
_mesa_init_accum( struct gl_context *ctx );
diff --git a/src/mesa/main/mfeatures.h b/src/mesa/main/mfeatures.h
index b7acbee..4e608f4 100644
--- a/src/mesa/main/mfeatures.h
+++ b/src/mesa/main/mfeatures.h
@@ -84,7 +84,6 @@
#define FEATURE_remap_table 0
#endif
-#define FEATURE_accum FEATURE_GL
#define FEATURE_arrayelt FEATURE_GL
#define FEATURE_attrib_stack FEATURE_GL
/* this disables vtxfmt, api_loopback, and api_noop completely */
--
1.7.8.6
More information about the mesa-dev
mailing list