mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 06:42:12 +00:00
- fixed calculation of clipping rect's lower edge.
This commit is contained in:
parent
82b032680c
commit
c519e76280
1 changed files with 1 additions and 1 deletions
|
@ -778,7 +778,7 @@ bool DCanvas::ParseDrawTextureTags(FTexture *img, double x, double y, uint32_t t
|
|||
if (parms->lclip < clipleft) parms->lclip = clipleft;
|
||||
if (parms->rclip > clipleft + clipwidth) parms->rclip = clipleft + clipwidth;
|
||||
if (parms->uclip < cliptop) parms->uclip = cliptop;
|
||||
if (parms->dclip < cliptop + clipheight) parms->uclip = cliptop + clipheight;
|
||||
if (parms->dclip > cliptop + clipheight) parms->dclip = cliptop + clipheight;
|
||||
}
|
||||
|
||||
if (parms->uclip >= parms->dclip || parms->lclip >= parms->rclip)
|
||||
|
|
Loading…
Reference in a new issue