From e29fce6951c70e5c2036e6dfc4ccf0fe38f24f00 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sun, 7 Sep 2014 11:52:51 +0300 Subject: [PATCH] Fixed missing transparency on upscaled textures Textures with diagonal patterns were treated as opaque after resizing Images upscaled by hqNx were affected mostly by this issue http://forum.drdteam.org/viewtopic.php?f=24&t=5370 http://zandronum.com/tracker/view.php?id=269 http://zandronum.com/tracker/view.php?id=315 --- src/gl/textures/gl_texture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl/textures/gl_texture.cpp b/src/gl/textures/gl_texture.cpp index 4f6e999f2..d74314e99 100644 --- a/src/gl/textures/gl_texture.cpp +++ b/src/gl/textures/gl_texture.cpp @@ -558,7 +558,7 @@ bool FTexture::SmoothEdges(unsigned char * buffer,int w, int h) l1+=4; for(x=1;x