diff options
author | Colin Snover | 2017-09-24 12:15:22 -0500 |
---|---|---|
committer | Colin Snover | 2017-09-24 16:22:40 -0500 |
commit | 56cc138e58b70695d83da890ce6a11ff8148043d (patch) | |
tree | 4b410cf6eeaeae0adb38b3ceeef09f4965b4a443 /image/codecs/bmp_raw.h | |
parent | f806b95eda4aafd936538cba591df4ee23dabc17 (diff) | |
download | scummvm-rg350-56cc138e58b70695d83da890ce6a11ff8148043d.tar.gz scummvm-rg350-56cc138e58b70695d83da890ce6a11ff8148043d.tar.bz2 scummvm-rg350-56cc138e58b70695d83da890ce6a11ff8148043d.zip |
IMAGE: Remove unnecessary heap allocation in BitmapRawDecoder
Diffstat (limited to 'image/codecs/bmp_raw.h')
-rw-r--r-- | image/codecs/bmp_raw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/bmp_raw.h b/image/codecs/bmp_raw.h index 99509a1708..8ec79e7230 100644 --- a/image/codecs/bmp_raw.h +++ b/image/codecs/bmp_raw.h @@ -41,7 +41,7 @@ public: Graphics::PixelFormat getPixelFormat() const; private: - Graphics::Surface *_surface; + Graphics::Surface _surface; int _width, _height; int _bitsPerPixel; }; |