aboutsummaryrefslogtreecommitdiff
path: root/common/system.h
diff options
context:
space:
mode:
authorJody Northup2009-06-16 09:04:37 +0000
committerJody Northup2009-06-16 09:04:37 +0000
commitcb56169a2770c25ce27256db339353011158998f (patch)
treefe05c7d8a9fa2915918f4995ceae194d1a6f378d /common/system.h
parentd3283f86fcd6c1a636bf769a3deb5d3afa561b01 (diff)
downloadscummvm-rg350-cb56169a2770c25ce27256db339353011158998f.tar.gz
scummvm-rg350-cb56169a2770c25ce27256db339353011158998f.tar.bz2
scummvm-rg350-cb56169a2770c25ce27256db339353011158998f.zip
Declared getBestFormat in OSystem base class, and implemented in SDL backend.
svn-id: r41580
Diffstat (limited to 'common/system.h')
-rw-r--r--common/system.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/common/system.h b/common/system.h
index 81b86820df..b6e78474ca 100644
--- a/common/system.h
+++ b/common/system.h
@@ -360,10 +360,16 @@ public:
virtual void initFormat(Graphics::PixelFormat format) = 0;
/**
- * Returns the pixel format description of the screen.
+ * Returns the pixel format of the screen.
* @see Graphics::PixelFormat
*/
virtual Graphics::PixelFormat getScreenFormat() const = 0;
+
+ /**
+ * Returns the highest color pixel format supported by the backend
+ * @see Graphics::PixelFormat
+ */
+ virtual Graphics::PixelFormat getBestFormat() const = 0;
#endif
/**