From 98d03edf23eedf53702845f44239c6a106c6c6b1 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 13 Mar 2024 08:48:04 +0100 Subject: [PATCH] Ensure opaque midtextures always use PF_Masked --- src/hardware/hw_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 83b3910cd..1c18a5325 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -1331,7 +1331,7 @@ void HWR_DrawSkyWall(FOutVector *wallVerts, FSurfaceInfo *Surf) // Returns true if the midtexture is visible, and false if... it isn't... static boolean HWR_BlendMidtextureSurface(FSurfaceInfo *pSurf) { - FUINT blendmode = 0; + FUINT blendmode = PF_Masked; pSurf->PolyColor.s.alpha = 0xFF;