diff options
author | D G Turner | 2019-10-03 03:56:31 +0100 |
---|---|---|
committer | D G Turner | 2019-10-03 03:56:31 +0100 |
commit | 743d64bf539881c3850c79573d92a58c3c36b166 (patch) | |
tree | 150d143d8d8cce25cb7136dc7a9641af0cde6fd6 /engines/sludge/backdrop.cpp | |
parent | 9308f802f3d753c4feecf00c1728bbb8a4190bd6 (diff) | |
download | scummvm-rg350-743d64bf539881c3850c79573d92a58c3c36b166.tar.gz scummvm-rg350-743d64bf539881c3850c79573d92a58c3c36b166.tar.bz2 scummvm-rg350-743d64bf539881c3850c79573d92a58c3c36b166.zip |
SLUDGE: Further Fixes for MSVC Warnings
This _should_ fix the remaining issues with signed vs. unsigned
warnings in the TransparentSurface blit method calls.
Diffstat (limited to 'engines/sludge/backdrop.cpp')
-rw-r--r-- | engines/sludge/backdrop.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sludge/backdrop.cpp b/engines/sludge/backdrop.cpp index dfb570fb3f..618e8e9f59 100644 --- a/engines/sludge/backdrop.cpp +++ b/engines/sludge/backdrop.cpp @@ -388,7 +388,8 @@ bool GraphicsManager::loadLightMap(int v) { if (_lightMapMode == LIGHTMAPMODE_HOTSPOT) { return fatal("Light map width and height don't match scene width and height. That is required for lightmaps in HOTSPOT mode."); } else if (_lightMapMode == LIGHTMAPMODE_PIXEL) { - tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, TS_ARGB(255, 255, 255, 255), (int)_sceneWidth, (int)_sceneHeight); + uint tmpColor = TS_ARGB(255, 255, 255, 255); + tmp.blit(_lightMap, 0, 0, Graphics::FLIP_NONE, nullptr, tmpColor, (int)_sceneWidth, (int)_sceneHeight); } else { _lightMap.copyFrom(tmp); } |