summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/api_exec.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-11-02 16:05:25 -0700
committerJordan Justen <[email protected]>2012-11-03 10:54:40 -0700
commit5ae8c9c0ca650563ca357f6322bf8627a6b6093c (patch)
tree4c6a080689a843ec2da656f399a45802e1c8005d /src/mesa/main/api_exec.c
parent86d5c28580e0c40467d8e9d3eae682676b760753 (diff)
mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE
This was mistakenly enabled in a21116f. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Paul Berry <[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 2df70a10dfb..e92eb0e1390 100644
--- a/src/mesa/main/api_exec.c
+++ b/src/mesa/main/api_exec.c
@@ -734,7 +734,7 @@ _mesa_create_exec_table(struct gl_context *ctx)
}
/* GL_ATI_separate_stencil */
- if (_mesa_is_desktop_gl(ctx)) {
+ if (ctx->API == API_OPENGL) {
SET_StencilFuncSeparateATI(exec, _mesa_StencilFuncSeparateATI);
}