diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2009-11-24 12:21:03 +0800 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-04 14:15:16 -0700 |
commit | a316b700effd615fcc895d0a2e015356854c6f44 (patch) | |
tree | 6eb9e69876ef9a8744009c8253289caf104dd2ad /progs/tests/prim.c | |
parent | c4b9e1aa1a2f1fda9e5764e3f7dd1a268216df09 (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/tests/prim.c')
0 files changed, 0 insertions, 0 deletions