From 70ac7f5b0c46370075a35067c9f7dfe78e84b16d Mon Sep 17 00:00:00 2001 From: Erik Faye-Lund Date: Mon, 25 Feb 2019 13:30:30 +0100 Subject: [PATCH] mesa/main: remove unused macro This macro is no longer used, so let's get rid of it. Signed-off-by: Erik Faye-Lund Tested-by: Marge Bot Part-of: --- src/mesa/main/enable.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index bfd06d47ff3..7410b0faddf 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -275,11 +275,6 @@ _mesa_DisableClientStateiEXT( GLenum cap, GLuint index ) client_state_i(ctx, ctx->Array.VAO, cap, index, GL_FALSE); } -#define CHECK_EXTENSION(EXTNAME) \ - if (!ctx->Extensions.EXTNAME) { \ - goto invalid_enum_error; \ - } - /** * Return pointer to current texture unit for setting/getting coordinate * state. -- 2.30.2