mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-18 15:48:48 +00:00
VOYEUR: reduce the scope of a variable
This commit is contained in:
parent
3a6e4b381e
commit
8cd0d40cef
@ -111,7 +111,6 @@ void GraphicsManager::addRectNoSaveBack(ViewPortResource *viewPort, int idx, con
|
||||
|
||||
void GraphicsManager::sDrawPic(DisplayResource *srcDisplay, DisplayResource *destDisplay,
|
||||
const Common::Point &initialOffset) {
|
||||
int imageDataShift = 0;
|
||||
int width1, width2;
|
||||
int widthDiff, widthDiff2;
|
||||
int height1;
|
||||
@ -247,6 +246,7 @@ void GraphicsManager::sDrawPic(DisplayResource *srcDisplay, DisplayResource *des
|
||||
}
|
||||
|
||||
if (srcFlags & DISPFLAG_1000) {
|
||||
int imageDataShift = 0;
|
||||
srcImgData = srcPic->_imgData + (imageDataShift << 14);
|
||||
for (uint idx = 0; idx < srcPic->_maskData; ++idx) {
|
||||
if (imageDataShift < 4)
|
||||
|
Loading…
Reference in New Issue
Block a user