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

Paul Berry stereotype441 at gmail.com
Fri Nov 2 18:12:39 PDT 2012


On 2 November 2012 16:18, Jordan Justen <jordan.l.justen at intel.com> wrote:

> 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
>
>
Thanks for fixing this.

Reviewed-by: Paul Berry <stereotype441 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121102/80b60c7b/attachment.html>


More information about the mesa-dev mailing list