fix non powers of two spans
This commit is contained in:
parent
f461b76bb0
commit
ff293c3f6f
|
@ -1010,6 +1010,8 @@ void R_DrawSinglePlane(visplane_t *pl)
|
||||||
|
|
||||||
if (ds_powersoftwo)
|
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)
|
if (hack)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue