diff options
author | Matthew Hoops | 2009-07-01 15:11:52 +0000 |
---|---|---|
committer | Matthew Hoops | 2009-07-01 15:11:52 +0000 |
commit | c753e68024d23f1128934c4730fbd4d7bdee8e61 (patch) | |
tree | 5663cefda146a56e2f359a264a14ac8ac20e91cf /graphics/pixelformat.h | |
parent | da1f41005cc4eb234cfab9e4a56cc5e4a15500cb (diff) | |
download | scummvm-rg350-c753e68024d23f1128934c4730fbd4d7bdee8e61.tar.gz scummvm-rg350-c753e68024d23f1128934c4730fbd4d7bdee8e61.tar.bz2 scummvm-rg350-c753e68024d23f1128934c4730fbd4d7bdee8e61.zip |
fix compile
svn-id: r41993
Diffstat (limited to 'graphics/pixelformat.h')
-rw-r--r-- | graphics/pixelformat.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h index 7c0d008b60..a1883291b9 100644 --- a/graphics/pixelformat.h +++ b/graphics/pixelformat.h @@ -200,6 +200,7 @@ struct PixelFormat { return (1 << aBits()) - 1; } }; + inline PixelFormat findCompatibleFormat(Common::List<PixelFormat> backend, Common::List<PixelFormat> frontend) { #ifdef ENABLE_RGB_COLOR for (Common::List<PixelFormat>::iterator i = backend.begin(); i != backend.end(); ++i) { @@ -210,7 +211,7 @@ inline PixelFormat findCompatibleFormat(Common::List<PixelFormat> backend, Commo } #endif return PixelFormat::createFormatCLUT8(); -}; +} } // end of namespace Graphics |