1
0
Fork 0
forked from fte/fteqw
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5213 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2018-02-11 06:04:40 +00:00
parent 04c14f4600
commit 6b712a4404

View file

@ -2721,8 +2721,8 @@ static struct pendingtextureinfo *Image_ReadKTXFile(unsigned int flags, char *fn
case 0x8045/*GL_LUMINANCE8_ALPHA8*/: encoding = PTI_LUMINANCE8_ALPHA8; break;
case 0x8051/*GL_RGB8*/: encoding = PTI_RGB8; break;
// case 0x????/*GL_BGR8_EXT*/: encoding = PTI_BGR8; break;
case GL_RGBA16F_ARB: encoding = PTI_RGBA16F; break;
case GL_RGBA32F_ARB: encoding = PTI_RGBA32F; break;
case 0x881A/*GL_RGBA16F_ARB*/: encoding = PTI_RGBA16F; break;
case 0x8814/*GL_RGBA32F_ARB*/: encoding = PTI_RGBA32F; break;
//note: this could be pretty much anything, including 24bit data.
default: