mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-03-03 15:31:11 +00:00
Fix Polymost HOM
git-svn-id: https://svn.eduke32.com/eduke32@7408 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
2ec041b10e
commit
b61027086c
1 changed files with 3 additions and 0 deletions
|
@ -3720,6 +3720,9 @@ static void polymost_domost(float x0, float y0, float x1, float y1, float y0top
|
||||||
y1 += DOMOST_OFFSET; //necessary?
|
y1 += DOMOST_OFFSET; //necessary?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
x0 -= DOMOST_OFFSET;
|
||||||
|
x1 += DOMOST_OFFSET;
|
||||||
|
|
||||||
// Test if span is outside screen bounds
|
// Test if span is outside screen bounds
|
||||||
if (x1+DOMOST_OFFSET < xbl || x0-DOMOST_OFFSET > xbr)
|
if (x1+DOMOST_OFFSET < xbl || x0-DOMOST_OFFSET > xbr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue