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

Marek Olšák maraeo at gmail.com
Mon Apr 15 06:17:29 PDT 2013


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.
-- 
1.7.10.4



More information about the mesa-dev mailing list