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 (:
This commit is contained in:
1 parent
4f83d3b36b
commit
a18e81ee18
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user