mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-22 21:41:31 +00:00
fix non powers of two spans
This commit is contained in:
parent
27970e22e1
commit
1095c4a4c7
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…
Add table
Reference in a new issue