From: Erik Faye-Lund Date: Mon, 25 Feb 2019 12:30:30 +0000 (+0100) Subject: mesa/main: remove unused macro X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70ac7f5b0c46370075a35067c9f7dfe78e84b16d;p=mesa.git 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: --- 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.