[Mesa-dev] [PATCH] mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE

Jordan Justen jordan.l.justen at intel.com
Fri Nov 2 16:18:55 PDT 2012


This was mistakenly enabled in a21116f.

Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Cc: Paul Berry <stereotype441 at gmail.com>
---
 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 2df70a1..e92eb0e 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);
    }
 
-- 
1.7.9.5



More information about the mesa-dev mailing list