Merge pull request #941 from Akz-/emi-savecrash-fix

GRIM/EMI: Always initialize the fields of BitmapData
This commit is contained in:
Joel Teichroeb 2014-06-22 09:55:24 -07:00
commit 54b245f171

View File

@ -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);
}