mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-07 10:21:31 +00:00
GRAPHICS: Properly initialize ManagedSurface copy constructor
This commit is contained in:
parent
c60009da68
commit
364407a5c6
@ -77,6 +77,8 @@ ManagedSurface::ManagedSurface(Surface *surf, DisposeAfterUse::Flag disposeAfter
|
||||
return;
|
||||
}
|
||||
|
||||
_disposeAfterUse = disposeAfterUse;
|
||||
|
||||
if (disposeAfterUse == DisposeAfterUse::YES) {
|
||||
_innerSurface.w = surf->w;
|
||||
_innerSurface.h = surf->h;
|
||||
|
Loading…
Reference in New Issue
Block a user