From 2c5d11b67b35f93b2292c1ca56d0c9fc89608921 Mon Sep 17 00:00:00 2001 From: Jody Northup Date: Tue, 7 Jul 2009 07:50:40 +0000 Subject: Removed PixelFormat convenience constructors at behest of Max and Eugene. svn-id: r42207 --- common/system.h | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'common/system.h') diff --git a/common/system.h b/common/system.h index b37797811a..63825f8401 100644 --- a/common/system.h +++ b/common/system.h @@ -368,11 +368,14 @@ public: * * EG: a backend that supports 32-bit ABGR and 16-bit 555 BGR in hardware * and provides conversion from equivalent RGB(A) modes should order its list - * 1) Graphics::PixelFormat::createFormatABGR8888() - * 2) Graphics::PixelFormat::createFormatBGR555() - * 3) Graphics::PixelFormat::createFormatRGBA8888() - * 4) Graphics::PixelFormat::createFormatRGB555() - * 5) Graphics::PixelFormat::createFormatCLUT8() + * 1) Graphics::PixelFormat(4, 0, 0, 0, 0, 0, 8, 16, 24) + + * 2) Graphics::PixelFormat(2, 3, 3, 3, 8, 0, 5, 10, 0) + + * 3) Graphics::PixelFormat(4, 0, 0, 0, 0, 24, 16, 8, 0) + * 4) Graphics::PixelFormat(2, 3, 3, 3, 8, 10, 5, 0, 0) + + * 5) Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0) * * @see Graphics::PixelFormat * @@ -384,12 +387,12 @@ public: virtual Common::List getSupportedFormats() const = 0; #else inline Graphics::PixelFormat getScreenFormat() const { - return Graphics::PixelFormat::createFormatCLUT8(); + return Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0); }; inline Common::List getSupportedFormats() const { Common::List list; - list.push_back(Graphics::PixelFormat::createFormatCLUT8()); + list.push_back(Graphics::PixelFormat(1, 8, 8, 8, 8, 0, 0, 0, 0)); return list; }; #endif -- cgit v1.2.3