diff options
author | Erik Faye-Lund <[email protected]> | 2019-02-25 11:36:44 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2019-05-23 11:35:55 +0200 |
commit | 619b2c9a7d87621dd6e6b0e28b7abb1750b558b5 (patch) | |
tree | 7c336a519a28887d56a8fe10056daf050a9bb31b /src | |
parent | a482cf6ab27aef30ec8caaea5b734504ffaa28d9 (diff) |
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 <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/enable.c | 8 |
1 files changed, 0 insertions, 8 deletions
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; \ |