Module: Mesa
Branch: master
Commit: 619b2c9a7d87621dd6e6b0e28b7abb1750b558b5
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=619b2c9a7d87621dd6e6b0e28b7abb1750b558b5

Author: Erik Faye-Lund <[email protected]>
Date:   Mon Feb 25 11:36:44 2019 +0100

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]>

---

 src/mesa/main/enable.c | 8 --------
 1 file changed, 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;                                         \

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to