mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
ASYLUM: Correct Compilation On Newer GCC.
The abs() function returns double, but the ScummVM common/util version should be used instead which is ABS().
This commit is contained in:
parent
79ef1c65dd
commit
86eee35eb4
@ -940,7 +940,7 @@ void Screen::blitMasked(GraphicFrame *frame, Common::Rect *source, byte *maskDat
|
||||
byte *mirroredBuffer = NULL;
|
||||
int16 frameRight = frame->surface.pitch;
|
||||
uint16 maskHeight = (uint16)sourceMask->height(); // for debugging only
|
||||
byte zoom = abs(sourceMask->left) & 7;
|
||||
byte zoom = ABS(sourceMask->left) & 7;
|
||||
|
||||
// Prepare temporary source buffer if needed
|
||||
if (flags & kDrawFlagMirrorLeftRight) {
|
||||
|
Loading…
Reference in New Issue
Block a user