mesa: Fix CopyTex{Sub,}Image error checks for integer vs non-integer.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jan 2012 21:43:11 +0000 (13:43 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 25 Jan 2012 00:37:10 +0000 (16:37 -0800)
commit422b18794eacc8f0be5b4e9611e2726f4e0d86b6
tree705b21a3dff1d926df8a56e195dee2bbe5142ce9
parentee9804af14caa18586dd711119bc8fc8c2de00a8
mesa: Fix CopyTex{Sub,}Image error checks for integer vs non-integer.

Fixes Intel oglconform negative.typeFormatMismatch.copyteximage.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/mesa/main/teximage.c