mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-22 10:52:23 +00:00
fix non powers of two spans
This commit is contained in:
parent
f461b76bb0
commit
ff293c3f6f
1 changed files with 2 additions and 0 deletions
|
@ -1010,6 +1010,8 @@ void R_DrawSinglePlane(visplane_t *pl)
|
|||
|
||||
if (ds_powersoftwo)
|
||||
{
|
||||
// Okay, look, don't ask me why this works, but without this setup there's a disgusting-looking misalignment with the textures. -Red
|
||||
fudge = ((1<<nflatshiftup)+1.0f)/(1<<nflatshiftup);
|
||||
if (hack)
|
||||
{
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue