mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-15 16:58:01 +00:00
Silence MSVC warning about uninitialized variables
svn-id: r30812
This commit is contained in:
parent
509f2f6659
commit
edab25743e
@ -413,8 +413,8 @@ void Gfx::updateScreen() {
|
||||
uint w = MIN(_vm->_screenWidth, (int32)_backgroundInfo.width);
|
||||
uint h = MIN(_vm->_screenHeight, (int32)_backgroundInfo.height);
|
||||
|
||||
byte *backgroundData;
|
||||
uint16 backgroundPitch;
|
||||
byte *backgroundData = 0;
|
||||
uint16 backgroundPitch = 0;
|
||||
switch (_varBackgroundMode) {
|
||||
case 1:
|
||||
backgroundData = (byte*)_backgroundInfo.bg.pixels;
|
||||
|
Loading…
x
Reference in New Issue
Block a user