mesa: stop using _mesa_error_check_format_type() in glReadPixels
authorBrian Paul <brianp@vmware.com>
Tue, 7 Feb 2012 14:42:33 +0000 (07:42 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 7 Feb 2012 14:45:38 +0000 (07:45 -0700)
commitb8f7eef4ef84d53d32d08a70dc7daec623cf7eab
tree4647da084115ebe1217858893f496f8fecd2787c
parent6bed7a861da05ef9751b373a78490db1c5b3e277
mesa: stop using _mesa_error_check_format_type() in glReadPixels

Basically the same story as the previous commit.  But we were
already calling _mesa_source_buffer_exists() in ReadPixels().
Yeah, we were calling it twice.

Signed-off-by: Brian Paul <brianp@vmware.com>
src/mesa/main/readpix.c