mirror of
https://github.com/mkxp-z/mkxp-z.git
synced 2025-09-10 12:02:53 +02:00
Fix blitting with negative dimensions
This commit is contained in:
parent
cf762c77f1
commit
8b14894b6f
1 changed files with 1 additions and 1 deletions
|
@ -925,7 +925,7 @@ void Bitmap::blt(int x, int y,
|
|||
if (source.isDisposed())
|
||||
return;
|
||||
|
||||
stretchBlt(IntRect(x, y, rect.w, rect.h),
|
||||
stretchBlt(IntRect(x, y, abs(rect.w), abs(rect.h)),
|
||||
source, rect, opacity);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue