From: Jordan Justen Date: Fri, 2 Nov 2012 23:05:25 +0000 (-0700) Subject: mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ae8c9c0ca650563ca357f6322bf8627a6b6093c;p=mesa.git mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE This was mistakenly enabled in a21116f. Signed-off-by: Jordan Justen Reviewed-by: Paul Berry --- 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); }