mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
Fixed applying of clip rect to screen dimming
https://forum.zdoom.org/viewtopic.php?t=56719
This commit is contained in:
parent
1ed415014e
commit
c7b895c8ff
1 changed files with 1 additions and 1 deletions
|
@ -1060,7 +1060,7 @@ void DCanvas::Dim(PalEntry color, float damount, int x1, int y1, int w, int h)
|
|||
h -= (cliptop - y1);
|
||||
y1 = cliptop;
|
||||
}
|
||||
if (h > clipheight) w = clipheight;
|
||||
if (h > clipheight) h = clipheight;
|
||||
if (h <= 0) return;
|
||||
}
|
||||
DoDim(color, damount, x1, y1, w, h);
|
||||
|
|
Loading…
Reference in a new issue