diff options
-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 |