mesa: remove FEATURE_attrib_stack define.
Signed-off-by: Oliver McFadden <oliver.mcfadden@linux.intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
d6543599da
commit
985b0cb22f
|
@ -178,9 +178,6 @@ struct texture_state
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#if FEATURE_attrib_stack
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allocate new attribute node of given type/kind. Attach payload data.
|
* Allocate new attribute node of given type/kind. Attach payload data.
|
||||||
* Insert it into the linked list named by 'head'.
|
* Insert it into the linked list named by 'head'.
|
||||||
|
@ -1609,9 +1606,6 @@ _mesa_init_attrib_dispatch(struct _glapi_table *disp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#endif /* FEATURE_attrib_stack */
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Free any attribute state data that might be attached to the context.
|
* Free any attribute state data that might be attached to the context.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -33,8 +33,6 @@
|
||||||
struct _glapi_table;
|
struct _glapi_table;
|
||||||
struct gl_context;
|
struct gl_context;
|
||||||
|
|
||||||
#if FEATURE_attrib_stack
|
|
||||||
|
|
||||||
extern void GLAPIENTRY
|
extern void GLAPIENTRY
|
||||||
_mesa_PushAttrib( GLbitfield mask );
|
_mesa_PushAttrib( GLbitfield mask );
|
||||||
|
|
||||||
|
@ -50,27 +48,6 @@ _mesa_PopClientAttrib( void );
|
||||||
extern void
|
extern void
|
||||||
_mesa_init_attrib_dispatch(struct _glapi_table *disp);
|
_mesa_init_attrib_dispatch(struct _glapi_table *disp);
|
||||||
|
|
||||||
#else /* FEATURE_attrib_stack */
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_PushClientAttrib( GLbitfield mask )
|
|
||||||
{
|
|
||||||
ASSERT_NO_FEATURE();
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_PopClientAttrib( void )
|
|
||||||
{
|
|
||||||
ASSERT_NO_FEATURE();
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline void
|
|
||||||
_mesa_init_attrib_dispatch(struct _glapi_table *disp)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif /* FEATURE_attrib_stack */
|
|
||||||
|
|
||||||
extern void
|
extern void
|
||||||
_mesa_init_attrib( struct gl_context *ctx );
|
_mesa_init_attrib( struct gl_context *ctx );
|
||||||
|
|
||||||
|
|
|
@ -84,7 +84,6 @@
|
||||||
#define FEATURE_remap_table 0
|
#define FEATURE_remap_table 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define FEATURE_attrib_stack FEATURE_GL
|
|
||||||
/* this disables vtxfmt, api_loopback, and api_noop completely */
|
/* this disables vtxfmt, api_loopback, and api_noop completely */
|
||||||
#define FEATURE_beginend FEATURE_GL
|
#define FEATURE_beginend FEATURE_GL
|
||||||
#define FEATURE_colortable FEATURE_GL
|
#define FEATURE_colortable FEATURE_GL
|
||||||
|
|
Loading…
Reference in New Issue