diff options
author | Einar Johan Trøan Sømåen | 2012-07-22 22:31:02 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-22 22:31:02 +0200 |
commit | 30ada3c13f63ef35ccdd21ca76fb45aa9fb1dc3c (patch) | |
tree | 7987671c6058e1f16e9dc9089ea9c62fe43ed18a /engines/wintermute/base/gfx/osystem/base_surface_osystem.h | |
parent | 803c4215534bdbdc545c8aa32418444e27d607f5 (diff) | |
download | scummvm-rg350-30ada3c13f63ef35ccdd21ca76fb45aa9fb1dc3c.tar.gz scummvm-rg350-30ada3c13f63ef35ccdd21ca76fb45aa9fb1dc3c.tar.bz2 scummvm-rg350-30ada3c13f63ef35ccdd21ca76fb45aa9fb1dc3c.zip |
WINTERMUTE: Check for failure when decoding images.
Diffstat (limited to 'engines/wintermute/base/gfx/osystem/base_surface_osystem.h')
-rw-r--r-- | engines/wintermute/base/gfx/osystem/base_surface_osystem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h index bece031fe7..3a8d64703f 100644 --- a/engines/wintermute/base/gfx/osystem/base_surface_osystem.h +++ b/engines/wintermute/base/gfx/osystem/base_surface_osystem.h @@ -85,7 +85,7 @@ public: private:
Graphics::Surface *_surface;
bool _loaded;
- void finishLoad();
+ bool finishLoad();
bool drawSprite(int x, int y, Rect32 *rect, float zoomX, float zoomY, uint32 alpha, bool alphaDisable, TSpriteBlendMode blendMode, bool mirrorX, bool mirrorY, int offsetX = 0, int offsetY = 0);
void genAlphaMask(Graphics::Surface *surface);
uint32 getPixel(Graphics::Surface *surface, int x, int y);
|