mesa: remove FEATURE_accum define.
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
fc66313c96
commit
016ba4cc2c
|
@ -36,9 +36,6 @@
|
||||||
#include "main/dispatch.h"
|
#include "main/dispatch.h"
|
||||||
|
|
||||||
|
|
||||||
#if FEATURE_accum
|
|
||||||
|
|
||||||
|
|
||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
||||||
{
|
{
|
||||||
|
@ -496,9 +493,6 @@ _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* FEATURE_accum */
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
_mesa_init_accum( struct gl_context *ctx )
|
_mesa_init_accum( struct gl_context *ctx )
|
||||||
{
|
{
|
||||||
|
|
|
@ -44,8 +44,6 @@ struct _glapi_table;
|
||||||
struct gl_context;
|
struct gl_context;
|
||||||
struct gl_renderbuffer;
|
struct gl_renderbuffer;
|
||||||
|
|
||||||
#if FEATURE_accum
|
|
||||||
|
|
||||||
extern void GLAPIENTRY
|
extern void GLAPIENTRY
|
||||||
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
|
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha );
|
||||||
|
|
||||||
|
@ -58,35 +56,6 @@ _mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value);
|
||||||
extern void
|
extern void
|
||||||
_mesa_clear_accum_buffer(struct gl_context *ctx);
|
_mesa_clear_accum_buffer(struct gl_context *ctx);
|
||||||
|
|
||||||
#else /* FEATURE_accum */
|
|
||||||
|
|
||||||
#include "main/compiler.h"
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_ClearAccum( GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha )
|
|
||||||
{
|
|
||||||
/* this is used in _mesa_PopAttrib */
|
|
||||||
ASSERT_NO_FEATURE();
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_init_accum_dispatch(struct _glapi_table *disp)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_accum(struct gl_context *ctx, GLenum op, GLfloat value)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_clear_accum_buffer(struct gl_context *ctx)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
#endif /* FEATURE_accum */
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
_mesa_init_accum( struct gl_context *ctx );
|
_mesa_init_accum( struct gl_context *ctx );
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,6 @@
|
||||||
#define FEATURE_remap_table 0
|
#define FEATURE_remap_table 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FEATURE_accum FEATURE_GL
|
|
||||||
#define FEATURE_arrayelt FEATURE_GL
|
#define FEATURE_arrayelt FEATURE_GL
|
||||||
#define FEATURE_attrib_stack FEATURE_GL
|
#define FEATURE_attrib_stack FEATURE_GL
|
||||||
/* this disables vtxfmt, api_loopback, and api_noop completely */
|
/* this disables vtxfmt, api_loopback, and api_noop completely */
|
||||||
|
|
Loading…
Reference in New Issue