diff --git a/graphics/pixelformat.h b/graphics/pixelformat.h index 7c0d008b601..a1883291b97 100644 --- a/graphics/pixelformat.h +++ b/graphics/pixelformat.h @@ -200,6 +200,7 @@ struct PixelFormat { return (1 << aBits()) - 1; } }; + inline PixelFormat findCompatibleFormat(Common::List backend, Common::List frontend) { #ifdef ENABLE_RGB_COLOR for (Common::List::iterator i = backend.begin(); i != backend.end(); ++i) { @@ -210,7 +211,7 @@ inline PixelFormat findCompatibleFormat(Common::List backend, Commo } #endif return PixelFormat::createFormatCLUT8(); -}; +} } // end of namespace Graphics