mesa: Fix copy-and-paste error in _mesa_pack_rgba_span_float
authorIan Romanick <ian.d.romanick@intel.com>
Thu, 2 Feb 2012 05:46:31 +0000 (22:46 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 2 Feb 2012 17:07:14 +0000 (10:07 -0700)
commit2e8f8cb383320b83ba5d85c27808ac2d841834e6
treefb4119ce03176f72ca91b7dd1946f3500cde1755
parent5c341b7df3c1058d586629394e53e9e26ae2cc01
mesa: Fix copy-and-paste error in _mesa_pack_rgba_span_float

GL_RG_INTEGER only has two components, not three.  I'll be surprised
if anyone ever tries to glReadPixels(..., GL_SHORT, GL_RG_INTEGER,
...).  This was found by inspection.

NOTE: This is a candidate for the 8.0 branch.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/pack.c