Added KTX A8 texture format. (#992)

This commit is contained in:
o7alesmlakar 2016-11-30 17:50:40 +01:00 committed by Branimir Karadžić
parent 0daebdba47
commit a312f729da

View File

@ -2980,6 +2980,7 @@ namespace bgfx
#define KTX_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
#define KTX_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
#define KTX_A8 0x803C
#define KTX_R8 0x8229
#define KTX_R16 0x822A
#define KTX_RG8 0x822B
@ -3148,6 +3149,7 @@ namespace bgfx
static const KtxFormatInfo2 s_translateKtxFormat2[] =
{
{ KTX_A8, TextureFormat::A8 },
{ KTX_RED, TextureFormat::R8 },
{ KTX_RGB, TextureFormat::RGB8 },
};