From c753e68024d23f1128934c4730fbd4d7bdee8e61 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Wed, 1 Jul 2009 15:11:52 +0000 Subject: fix compile svn-id: r41993 --- graphics/pixelformat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'graphics') 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 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 -- cgit v1.2.3