image: fix legal types for packed integer formats.
authorDave Airlie <airlied@redhat.com>
Sat, 26 Nov 2011 16:54:29 +0000 (16:54 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 27 Nov 2011 20:44:01 +0000 (20:44 +0000)
commit923f143335ad1cba4795276e79cb1a5b0cd19bbc
treee5273240f5d8e4c84e8b673055736d501419635c
parent9608ef5dec4d70024e68a49c64faed9ec7e4d2e0
image: fix legal types for packed integer formats.

After reading ARB_texture_rgb10_a2ui it appears the packed formats
for integer types are only specified via this extension, and not via
the original ones. So condition the checks on this.

Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/image.c