mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
Removed unused variables
svn-id: r50071
This commit is contained in:
parent
fcdb7807a4
commit
110e03c87b
@ -681,14 +681,12 @@ void MadsSceneResources::load(int sceneNumber, const char *resName, int v0, M4Su
|
||||
|
||||
// Initialise a copy of the surfaces if they weren't provided
|
||||
bool dsFlag = false, ssFlag = false;
|
||||
int gfxSize = width * height;
|
||||
if (!surface) {
|
||||
surface = new M4Surface(width, height);
|
||||
ssFlag = true;
|
||||
} else if ((width != surface->width()) || (height != surface->height()))
|
||||
surface->setSize(width, height);
|
||||
|
||||
int walkSize = gfxSize;
|
||||
if (!depthSurface) {
|
||||
depthSurface = new M4Surface(width, height);
|
||||
dsFlag = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user