summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-02-25 13:30:30 +0100
committerErik Faye-Lund <[email protected]>2020-04-01 12:57:57 +0200
commit70ac7f5b0c46370075a35067c9f7dfe78e84b16d (patch)
tree95e3faf7a1bb0e3f1532a383cddd682484ff2f86
parent9ddd9d454c16959d92e6c785aac77ead83fab0b3 (diff)
mesa/main: remove unused macro
This macro is no longer used, so let's get rid of it. Signed-off-by: Erik Faye-Lund <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/329> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/329>
-rw-r--r--src/mesa/main/enable.c5
1 files changed, 0 insertions, 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.