osmesa: fix glReadPixels, etc
authorBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 18:52:22 +0000 (11:52 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 12 Jan 2012 20:49:15 +0000 (13:49 -0700)
commitcb254b75d7d971b3f1baab45a82cedf0bd6c36c4
treed1eac5fb511f01000afb65f8772d0dc6ca69e70d
parent062a4b601edaaea193397bd5d86fea11ceec04f4
osmesa: fix glReadPixels, etc

Needed to implement the Map/UnmapRenderbuffer() driver hooks.
This fixes glRead/Draw/CopyPixels, etc.

See https://bugs.freedesktop.org/show_bug.cgi?id=44723

Note: This is a candidate for the 8.0 branch.

Tested-by: Kevin Hobbs <hobbsk@ohiou.edu>
src/mesa/drivers/osmesa/osmesa.c