mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 2 Nov 2012 23:05:25 +0000 (16:05 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 3 Nov 2012 17:54:40 +0000 (10:54 -0700)
This was mistakenly enabled in a21116f.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/main/api_exec.c

index 2df70a10dfbcff6f83fe14d9ac321348cb40f40e..e92eb0e139096a600d2009cec5a55f1e08a75935 100644 (file)
@@ -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);
    }