mesa: Don't expose compressed paletted formats via GL_{NUM_,}COMPRESSED_TEXTURE_FORMATS
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 14 Sep 2011 16:49:09 +0000 (11:49 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 20 Sep 2011 22:42:05 +0000 (15:42 -0700)
commit011e946cb09993a9b298358188736394241bbb03
tree53c22c8ff5515372ae4b37c4e94a77fd46354ab4
parent977e269c3e69e58f7c81b066d2085f60ec3f2f7b
mesa: Don't expose compressed paletted formats via GL_{NUM_,}COMPRESSED_TEXTURE_FORMATS

Fixes a bug introduced by commit faf5d65.  These formats should only
be exposed in OpenGL ES 1.x.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Cc: Xun Fang <xunx.fang@intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=40860
src/mesa/main/texcompress.c