DXT support for gl3. txd format changed!!

This commit is contained in:
aap
2020-11-07 11:11:36 +01:00
parent deb03ac354
commit 3e2080ad56
10 changed files with 411 additions and 161 deletions

View File

@@ -337,6 +337,10 @@ void expandPal4_BE(uint8 *dst, uint32 dststride, uint8 *src, uint32 srcstride, i
void compressPal4_BE(uint8 *dst, uint32 dststride, uint8 *src, uint32 srcstride, int32 w, int32 h);
void copyPal8(uint8 *dst, uint32 dststride, uint8 *src, uint32 srcstride, int32 w, int32 h);
void flipDXT1(uint8 *dst, uint8 *src, uint32 width, uint32 height);
void flipDXT3(uint8 *dst, uint8 *src, uint32 width, uint32 height);
void flipDXT5(uint8 *dst, uint8 *src, uint32 width, uint32 height);
void flipDXT(int32 type, uint8 *dst, uint8 *src, uint32 width, uint32 height);
#define IGNORERASTERIMP 0