Mesa (master): mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE
Jordan Justen
jljusten at kemper.freedesktop.org
Sat Nov 3 18:17:40 UTC 2012
Module: Mesa
Branch: master
Commit: 5ae8c9c0ca650563ca357f6322bf8627a6b6093c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5ae8c9c0ca650563ca357f6322bf8627a6b6093c
Author: Jordan Justen <jordan.l.justen at intel.com>
Date: Fri Nov 2 16:05:25 2012 -0700
mesa api_exec: disable StencilFuncSeparateATI for API_OPENGL_CORE
This was mistakenly enabled in a21116f.
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Paul Berry <stereotype441 at gmail.com>
---
src/mesa/main/api_exec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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);
}
More information about the mesa-commit
mailing list