mesa/main: remove unused macro
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 25 Feb 2019 10:36:44 +0000 (11:36 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Thu, 23 May 2019 09:35:55 +0000 (11:35 +0200)
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>
src/mesa/main/enable.c

index 386556e..905580f 100644 (file)
 #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;                                         \