summaryrefslogtreecommitdiff
path: root/src/mesa/main/readpix.c
AgeCommit message (Collapse)Author
2010-04-20mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul
We no longer support CI-mode color buffers so this is always an error.
2010-03-03mesa: Remove checks of Visual.rgbModeIan Romanick
This must always be true now, so there is no reason to check it. Ever. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
2009-08-12mesa: use _mesa_is_bufferobj()Brian Paul
2009-08-07mesa: use _mesa_bufferobj_mapped()Brian Paul
2009-08-07mesa: fix some incorrect error checks in _mesa_error_check_format_type()Brian Paul
Plus, simplify the code a bit.
2009-04-02mesa: don't call ctx->Driver.ReadPixels() if width or height is zeroBrian Paul
2008-09-21mesa: refactor: move glReadPixels code into new readpix.c fileBrian Paul