summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-02-25 12:10:43 +0100
committerErik Faye-Lund <[email protected]>2019-05-23 11:35:55 +0200
commit182d75d2a508cfd60b3b9082ce07369d3d28c32c (patch)
tree741c410459b63cfee96d7e9bfac9ff560025e1b3 /src/mesa/main
parente002763c99e203aff7955e4ed09bbaa149a6d918 (diff)
mesa/main: remove duplicate macros
These are already defined as the exactly same, so let's get rid of the duplicate definitions. Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r--src/mesa/main/enable.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index fc0016bf9fe..83e7f9734d1 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -1300,20 +1300,6 @@ _mesa_IsEnabledi( GLenum cap, GLuint index )
-
-#undef CHECK_EXTENSION
-#define CHECK_EXTENSION(EXTNAME) \
- if (!ctx->Extensions.EXTNAME) { \
- goto invalid_enum_error; \
- }
-
-#undef CHECK_EXTENSION2
-#define CHECK_EXTENSION2(EXT1, EXT2) \
- if (!ctx->Extensions.EXT1 && !ctx->Extensions.EXT2) { \
- goto invalid_enum_error; \
- }
-
-
/**
* Helper function to determine whether a texture target is enabled.
*/