From dd7d661f9a73166c0b5c2de7e29d024d24e6f343 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 10 Dec 2020 20:46:44 +0100 Subject: [PATCH] - explicitly disable mipmapping for indexed textures. It looks like this code was not handled properly. --- source/common/rendering/gl/gl_hwtexture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/common/rendering/gl/gl_hwtexture.cpp b/source/common/rendering/gl/gl_hwtexture.cpp index 70c353082..0043a67b8 100644 --- a/source/common/rendering/gl/gl_hwtexture.cpp +++ b/source/common/rendering/gl/gl_hwtexture.cpp @@ -312,6 +312,7 @@ bool FHardwareTexture::BindOrCreate(FTexture *tex, int texunit, int clampmode, i { glTextureBytes = 1; forcenofilter = true; + needmipmap = false; } int w = 0, h = 0;