readpix: allow implementation format/type
authorJordan Justen <jordan.l.justen@intel.com>
Sat, 12 Jan 2013 09:05:44 +0000 (01:05 -0800)
committerMatt Turner <mattst88@gmail.com>
Mon, 21 Jan 2013 03:54:38 +0000 (19:54 -0800)
commitffdffd834a9b0bc6866331e7ecca995d0eb1c041
treed96b5ee80086845a781b228e20072dde0ec602d1
parent119002a648180ba1a20ed086adf2b1b306f81386
readpix: allow implementation format/type

For GLES2/3 allow reading of pixels with format/type based on:
 * GL_IMPLEMENTATION_COLOR_READ_FORMAT
 * GL_IMPLEMENTATION_COLOR_READ_TYPE

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