From e378ff51ac5822884f58211cb55acf9157fa6666 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 12 Aug 2019 03:48:46 +0000 Subject: [PATCH] Fix high's te_teleport effect. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5513 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/gl/gl_backend.c b/engine/gl/gl_backend.c index 1cc400044..e3e84a664 100644 --- a/engine/gl/gl_backend.c +++ b/engine/gl/gl_backend.c @@ -1179,7 +1179,7 @@ static void T_Gen_CurrentRender(int tmu) if (vid.flags&VID_FP16) fmt = GL_RGBA16F; - else if (vid.flags&VID_SRGB_CAPABLE) + else if (vid.flags&VID_SRGB_FB) fmt = GL_SRGB8_EXT; else fmt = GL_RGB;