diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2010-04-24 19:34:57 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2010-04-28 14:05:18 -0400 |
commit | 7179a822628963d8cfa0817cf072c5acb70638a7 (patch) | |
tree | 454d57a7c685dbea8d4ae46306b11455259ffeb0 /src/mesa/main/glheader.h | |
parent | 08fae07f5246052dccdd89689e27dc8820a24ff7 (diff) |
mesa: Move support for paletted textures to main/teximage.c
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 6d423eacee..5b8e2f2d81 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -94,6 +94,19 @@ typedef void *GLeglImageOES; #define GL_TEXTURE_GEN_STR_OES 0x8D60 #endif +#ifndef GL_OES_compressed_paletted_texture +#define GL_PALETTE4_RGB8_OES 0x8B90 +#define GL_PALETTE4_RGBA8_OES 0x8B91 +#define GL_PALETTE4_R5_G6_B5_OES 0x8B92 +#define GL_PALETTE4_RGBA4_OES 0x8B93 +#define GL_PALETTE4_RGB5_A1_OES 0x8B94 +#define GL_PALETTE8_RGB8_OES 0x8B95 +#define GL_PALETTE8_RGBA8_OES 0x8B96 +#define GL_PALETTE8_R5_G6_B5_OES 0x8B97 +#define GL_PALETTE8_RGBA4_OES 0x8B98 +#define GL_PALETTE8_RGB5_A1_OES 0x8B99 +#endif + /** * Special, internal token */ |