summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2012-08-17 17:14:47 -0700
committerIan Romanick <[email protected]>2012-08-29 15:09:37 -0700
commit04d6ffa06deff792aea49eccc4bceb1a91a1892e (patch)
tree49d4160a63512d31e2ee0c04fb57b4bcc4ad7ebe /src/mesa/main/api_exec.c
parent91107b4ccf7a47633fce98b9ccfba7f559098cb7 (diff)
mesa: Disallow more deprecated functions in core context
Signed-off-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/main/api_exec.c')
-rw-r--r--src/mesa/main/api_exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c
index af73074d29f..167a9428634 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -582,7 +582,7 @@ _mesa_create_exec_table(struct gl_context *ctx)
/* ARB 1. GL_ARB_multitexture */
#if _HAVE_FULL_GL
SET_ActiveTextureARB(exec, _mesa_ActiveTextureARB);
- if (ctx->API != API_OPENGLES2) {
+ if (ctx->API != API_OPENGL_CORE && ctx->API != API_OPENGLES2) {
SET_ClientActiveTextureARB(exec, _mesa_ClientActiveTextureARB);
}
#endif