[Mesa-dev] [PATCH 04/14] mesa: remove redundant _NEW_BUFFERS setting in ReadPixels

Eric Anholt eric at anholt.net
Mon Apr 22 09:29:09 PDT 2013


Marek Olšák <maraeo at gmail.com> writes:

> already set by _mesa_readbuffer
> ---
>  src/mesa/main/buffers.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
> index 3f5cbcd..36b0312 100644
> --- a/src/mesa/main/buffers.c
> +++ b/src/mesa/main/buffers.c
> @@ -645,7 +645,6 @@ _mesa_ReadBuffer(GLenum buffer)
>     /* OK, all error checking has been completed now */
>  
>     _mesa_readbuffer(ctx, buffer, srcBuffer);
> -   ctx->NewState |= _NEW_BUFFERS;
>  
>     /*
>      * Call device driver function.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130422/2e46c620/attachment.pgp>


More information about the mesa-dev mailing list