diff options
author | D G Turner | 2017-01-12 10:00:17 +0000 |
---|---|---|
committer | D G Turner | 2017-01-12 10:00:17 +0000 |
commit | d5f0d1fdb26caea8d734371a539be9ed5764a899 (patch) | |
tree | d1c2d78748e8d4642637993da7b41a44994dbd2d | |
parent | 7db886e02f81184e5c8766c2e299781bc472ed89 (diff) | |
download | scummvm-rg350-d5f0d1fdb26caea8d734371a539be9ed5764a899.tar.gz scummvm-rg350-d5f0d1fdb26caea8d734371a539be9ed5764a899.tar.bz2 scummvm-rg350-d5f0d1fdb26caea8d734371a539be9ed5764a899.zip |
GUI: Fix Unused Variable Compiler Warning when USE_PNG not set.
-rw-r--r-- | gui/ThemeEngine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/ThemeEngine.cpp b/gui/ThemeEngine.cpp index 96108bccce..d859a88da5 100644 --- a/gui/ThemeEngine.cpp +++ b/gui/ThemeEngine.cpp @@ -810,7 +810,9 @@ bool ThemeEngine::addAlphaBitmap(const Common::String &filename) { if (surf) return true; +#ifdef USE_PNG const Graphics::TransparentSurface *srcSurface = 0; +#endif if (filename.hasSuffix(".png")) { // Maybe it is PNG? |