pack: handle GL_RGB+GL_UNSIGNED_INT_2_10_10_10_REV case
authorJordan Justen <jordan.l.justen@intel.com>
Sun, 30 Dec 2012 08:40:00 +0000 (00:40 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Jan 2013 04:52:19 +0000 (20:52 -0800)
commit8443b59a5bca9d4e5a2f700fc3e181cf634ff2b7
treeb9180cf283afd6972f62f608976397c25fb2a0e6
parent80784066cca39ddd79420c32de7770317d56cdf8
pack: handle GL_RGB+GL_UNSIGNED_INT_2_10_10_10_REV case

For floats, if GL_RGB is the source, then alpha should be set to
1.0F.

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