swrast: Fix use of uninitialized value in rbmapping changes.
authorEric Anholt <eric@anholt.net>
Thu, 5 Jan 2012 01:11:33 +0000 (17:11 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 6 Jan 2012 17:49:01 +0000 (09:49 -0800)
commit38c6f1e6caf097c0aefc7a9b161e9da3d5235ea9
tree10e419596c3b1ae93a40567db2c1329035d85fcc
parentfb5252a3518dadd51e88e87382e6510998e9e2f4
swrast: Fix use of uninitialized value in rbmapping changes.

I'm so surprised that gcc didn't catch this that I feel like I must be
misreading.  srcMap is what we initialize (along with dstMap) from
this map value right after this check.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/swrast/s_copypix.c