From 6fa4b66aa7148e66bbf74d12a07d18d62d1771b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joni=20V=C3=A4h=C3=A4m=C3=A4ki?= Date: Sun, 22 Jun 2014 17:49:35 +0300 Subject: [PATCH] EMI: Initialize _texc, _verts and _layers in the constructor of BitmapData. --- engines/grim/bitmap.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engines/grim/bitmap.cpp b/engines/grim/bitmap.cpp index c26a924a461..97c92ba048a 100644 --- a/engines/grim/bitmap.cpp +++ b/engines/grim/bitmap.cpp @@ -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); }