From a18e81ee186119efbd9418bb226cb358cdb5d1d9 Mon Sep 17 00:00:00 2001 From: Alug Date: Fri, 25 Apr 2025 21:33:08 +0200 Subject: [PATCH] invert skywall offset also fixes the issue, but doesent draw skywalls over actual walls in rare cases lets hope this doesent draw walls over actual skywalls now (: --- src/hardware/r_opengl/r_opengl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 0fcb58a3d..d2e363079 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -1557,7 +1557,7 @@ void GL_SetBlend(FBITFIELD PolyFlags) { if (PolyFlags & PF_Skydecal) { - pglPolygonOffset(-0.45f, -0.45f); // dont let skywalls draw over actual walls tho + pglPolygonOffset(0.45f, 0.45f); pglEnable(GL_POLYGON_OFFSET_FILL); } else