Mesa (master): mesa/main: remove unused macro
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Apr 1 11:21:55 UTC 2020
Module: Mesa
Branch: master
Commit: 70ac7f5b0c46370075a35067c9f7dfe78e84b16d
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=70ac7f5b0c46370075a35067c9f7dfe78e84b16d
Author: Erik Faye-Lund <erik.faye-lund at collabora.com>
Date: Mon Feb 25 13:30:30 2019 +0100
mesa/main: remove unused macro
This macro is no longer used, so let's get rid of it.
Signed-off-by: Erik Faye-Lund <erik.faye-lund at collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/329>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/329>
---
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.
More information about the mesa-commit
mailing list