From 5ae8c9c0ca650563ca357f6322bf8627a6b6093c Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Fri, 2 Nov 2012 16:05:25 -0700 Subject: [PATCH] mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE This was mistakenly enabled in a21116f. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- src/mesa/main/api_exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2