]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fix ETC1 texture format enums and add A4
authorThomas Edvalson <machin3@gmail.com>
Tue, 3 May 2016 02:46:37 +0000 (22:46 -0400)
committerThomas Edvalson <machin3@gmail.com>
Tue, 3 May 2016 02:46:37 +0000 (22:46 -0400)
libctru/include/3ds/gpu/enums.h

index af6f0ad55a1696ea5898e9234162d7bfbb37c569..e89e3f8634d54957992727c4931366b2a0001a2b 100644 (file)
@@ -73,8 +73,9 @@ typedef enum
        GPU_A8       = 0x8, ///< 8-bit Alpha
        GPU_LA4      = 0x9, ///< 4-bit Luminance + 4-bit Alpha
        GPU_L4       = 0xA, ///< 4-bit Luminance
-       GPU_ETC1     = 0xB, ///< ETC1 texture compression
-       GPU_ETC1A4   = 0xC, ///< ETC1 texture compression + 4-bit Alpha
+       GPU_A4       = 0xB, ///< 4-bit Alpha
+       GPU_ETC1     = 0xC, ///< ETC1 texture compression
+       GPU_ETC1A4   = 0xD, ///< ETC1 texture compression + 4-bit Alpha
 } GPU_TEXCOLOR;
 
 /// Procedural texture clamp modes.