mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: Typo in FClipRect::Intersect() could case bad clipping.
SVN r3211 (trunk)
This commit is contained in:
parent
400442ebc1
commit
2de3937338
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ bool FClipRect::Intersect(int ix, int iy, int iw, int ih)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ih -= (x-ih);
|
ih -= (y-iy);
|
||||||
}
|
}
|
||||||
if (iw < width) width = iw;
|
if (iw < width) width = iw;
|
||||||
if (ih < height) height = ih;
|
if (ih < height) height = ih;
|
||||||
|
|
Loading…
Reference in a new issue