Module: Mesa Branch: master Commit: 182d75d2a508cfd60b3b9082ce07369d3d28c32c URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=182d75d2a508cfd60b3b9082ce07369d3d28c32c
Author: Erik Faye-Lund <[email protected]> Date: Mon Feb 25 12:10:43 2019 +0100 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]> --- src/mesa/main/enable.c | 14 -------------- 1 file changed, 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. */ _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
