fix non powers of two spans

This commit is contained in:
Jaime Passos 2019-09-07 18:20:49 -03:00
parent f461b76bb0
commit ff293c3f6f
1 changed files with 2 additions and 0 deletions

View File

@ -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)
{
/*