mesa/main: remove unused macro
The first version of this macro is unused, so let's get rid of it. Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
a482cf6ab2
commit
619b2c9a7d
|
@ -44,13 +44,6 @@
|
||||||
#include "varray.h"
|
#include "varray.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#define CHECK_EXTENSION(EXTNAME, CAP) \
|
|
||||||
if (!ctx->Extensions.EXTNAME) { \
|
|
||||||
goto invalid_enum_error; \
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
update_derived_primitive_restart_state(struct gl_context *ctx)
|
update_derived_primitive_restart_state(struct gl_context *ctx)
|
||||||
{
|
{
|
||||||
|
@ -170,7 +163,6 @@ _mesa_DisableClientState( GLenum cap )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#undef CHECK_EXTENSION
|
|
||||||
#define CHECK_EXTENSION(EXTNAME, CAP) \
|
#define CHECK_EXTENSION(EXTNAME, CAP) \
|
||||||
if (!ctx->Extensions.EXTNAME) { \
|
if (!ctx->Extensions.EXTNAME) { \
|
||||||
goto invalid_enum_error; \
|
goto invalid_enum_error; \
|
||||||
|
|
Loading…
Reference in New Issue