mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Use less-than, not less-than-or-equals, since deststop is off-screen
This commit is contained in:
parent
5e4f960f3a
commit
7f7c7c58ab
1 changed files with 1 additions and 1 deletions
|
@ -830,7 +830,7 @@ void V_DrawFill(INT32 x, INT32 y, INT32 w, INT32 h, INT32 c)
|
|||
|
||||
c &= 255;
|
||||
|
||||
for (;(--h >= 0) && dest <= deststop; dest += vid.width)
|
||||
for (;(--h >= 0) && dest < deststop; dest += vid.width)
|
||||
memset(dest, (UINT8)(c&255), w * vid.bpp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue