From 619b2c9a7d87621dd6e6b0e28b7abb1750b558b5 Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 25 Feb 2019 11:36:44 +0100 Subject: 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 Reviewed-by: Ian Romanick --- src/mesa/main/enable.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 386556edeed..905580f33b8 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -44,13 +44,6 @@ #include "varray.h" - -#define CHECK_EXTENSION(EXTNAME, CAP) \ - if (!ctx->Extensions.EXTNAME) { \ - goto invalid_enum_error; \ - } - - static void 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) \ if (!ctx->Extensions.EXTNAME) { \ goto invalid_enum_error; \ -- cgit v1.2.3