summaryrefslogtreecommitdiff
path: root/progs/xdemos
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-11-24 12:21:03 +0800
committerBrian Paul <brianp@vmware.com>2010-01-04 14:15:16 -0700
commita316b700effd615fcc895d0a2e015356854c6f44 (patch)
tree6eb9e69876ef9a8744009c8253289caf104dd2ad /progs/xdemos
parentc4b9e1aa1a2f1fda9e5764e3f7dd1a268216df09 (diff)
mesa/es: Improve support for GL_OES_compressed_paletted_texture.
Add error checking and fix handling of level (it should be negative). Besides, always use the palette entry format/type when calling _mesa_TexImage2D. It respects the base internal formats of the cpal formats, and is simpler and faster, except for cases where the unpack alignment needs to be changed. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
Diffstat (limited to 'progs/xdemos')
0 files changed, 0 insertions, 0 deletions