mesa/image: Make _mesa_clip_readpixels() work with renderbuffers
authorNanley Chery <nanley.g.chery@intel.com>
Sat, 6 Feb 2016 00:20:01 +0000 (16:20 -0800)
committerNanley Chery <nanley.g.chery@intel.com>
Tue, 9 Feb 2016 23:13:07 +0000 (15:13 -0800)
commit55d56d34e0535baa2c7e1e1d8f1be11593a07fa8
tree68cf27102356d399dfd8035d04e17fb57c6b1608
parentd03e5d52557ce6523eb65dfec9172d6000f5ff8d
mesa/image: Make _mesa_clip_readpixels() work with renderbuffers

v2: Use gl_renderbuffer::{Width,Height} (Jason)

Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/image.c