readpix: check FBO completeness before trying to access the read-buffer
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 28 Dec 2012 19:27:04 +0000 (11:27 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Jan 2013 03:54:38 +0000 (19:54 -0800)
commitce9118c7f053e68102e215c7cf57a6d1b68d5955
treefa5a465a938bd1e16855f583c602e67bb837bf05
parent8b0bc9de367b4bada8a733d31e5889e5a9de91d8
readpix: check FBO completeness before trying to access the read-buffer

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/mesa/main/readpix.c