mesa: remove redundant _NEW_BUFFERS setting in ReadBuffer
authorMarek Olšák <maraeo@gmail.com>
Sun, 14 Apr 2013 20:24:09 +0000 (22:24 +0200)
committerMarek Olšák <maraeo@gmail.com>
Wed, 24 Apr 2013 01:23:23 +0000 (03:23 +0200)
already set by _mesa_readbuffer

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/buffers.c

index 3f5cbcda7e294f4d0116e45b00301f42fa1b1109..36b03121a6bbc94888a810a12e4a5fa419135023 100644 (file)
@@ -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.