aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/api_exec.c2
1 files changed, 1 insertions, 1 deletions
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);
}