mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Merge pull request #941 from Akz-/emi-savecrash-fix
GRIM/EMI: Always initialize the fields of BitmapData
This commit is contained in:
commit
54b245f171
@ -197,6 +197,9 @@ BitmapData::BitmapData(const Graphics::PixelBuffer &buf, int w, int h, const cha
|
||||
_keepData = true;
|
||||
|
||||
_userData = nullptr;
|
||||
_texc = nullptr;
|
||||
_verts = nullptr;
|
||||
_layers = nullptr;
|
||||
|
||||
g_driver->createBitmap(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user