[Mesa-dev] [PATCH 4/4] Disable scissor when begining meta operations

Brian Paul brianp at vmware.com
Tue Apr 27 14:59:14 PDT 2010


Pierre Willenbrock wrote:
> ---
>  src/mesa/drivers/common/meta.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c
> index 97d91ac..ea9e417 100644
> --- a/src/mesa/drivers/common/meta.c
> +++ b/src/mesa/drivers/common/meta.c
> @@ -424,6 +424,7 @@ _mesa_meta_begin(GLcontext *ctx, GLbitfield state)
>  
>     if (state & META_SCISSOR) {
>        save->Scissor = ctx->Scissor; /* struct copy */
> +      _mesa_set_enable(ctx, GL_SCISSOR_TEST, GL_FALSE);
>     }
>  
>     if (state & META_SHADER) {

Committed.  Thanks.

-Brian


More information about the mesa-dev mailing list