From 22e9fc9b7618d57a1f2b78ed9e361a7e726e33d4 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 2 Feb 2016 11:37:39 +0100 Subject: [PATCH] - re-fixed FTexture::CheckTrans The original broken code had it always reset the translucency info to 'not present'. The first fix completely removed that line, although it was merely misplaced, but still necessary to avoid constant re-checking of the same texture. --- src/gl/textures/gl_texture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gl/textures/gl_texture.cpp b/src/gl/textures/gl_texture.cpp index b7347ae545..cc2905bb9b 100644 --- a/src/gl/textures/gl_texture.cpp +++ b/src/gl/textures/gl_texture.cpp @@ -520,6 +520,7 @@ void FTexture::CheckTrans(unsigned char * buffer, int size, int trans) return; } } + gl_info.mIsTransparent = 0; } } }