From 6b712a4404ef24280d4a8d71b85e23ca78ea84c6 Mon Sep 17 00:00:00 2001 From: Spoike Date: Sun, 11 Feb 2018 06:04:40 +0000 Subject: [PATCH] tiny fix git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5213 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/image.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/client/image.c b/engine/client/image.c index 3f73e58a8..5255c7b7b 100644 --- a/engine/client/image.c +++ b/engine/client/image.c @@ -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: