aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorMax Horn2010-06-15 12:21:08 +0000
committerMax Horn2010-06-15 12:21:08 +0000
commit703f0ca29c8f1915b5fae13decb6ccde110adada (patch)
tree29d5522af7f94821deead51092fc5ce91018ae96 /backends/platform/sdl
parent96f1e293009a7fe1291ed0f7c1255f9010b75098 (diff)
downloadscummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.tar.gz
scummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.tar.bz2
scummvm-rg350-703f0ca29c8f1915b5fae13decb6ccde110adada.zip
SYSTEM: Unify OSystem::getSupportedFormats() signature
svn-id: r49838
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/graphics.cpp2
-rw-r--r--backends/platform/sdl/sdl.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/graphics.cpp b/backends/platform/sdl/graphics.cpp
index 82670cfcb7..83a256f568 100644
--- a/backends/platform/sdl/graphics.cpp
+++ b/backends/platform/sdl/graphics.cpp
@@ -243,7 +243,7 @@ const Graphics::PixelFormat BGRList[] = {
};
// TODO: prioritize matching alpha masks
-Common::List<Graphics::PixelFormat> OSystem_SDL::getSupportedFormats() {
+Common::List<Graphics::PixelFormat> OSystem_SDL::getSupportedFormats() const {
static Common::List<Graphics::PixelFormat> list;
static bool inited = false;
diff --git a/backends/platform/sdl/sdl.h b/backends/platform/sdl/sdl.h
index 341a59c8cf..480e0af41b 100644
--- a/backends/platform/sdl/sdl.h
+++ b/backends/platform/sdl/sdl.h
@@ -98,7 +98,7 @@ public:
virtual Graphics::PixelFormat getScreenFormat() const { return _screenFormat; }
// Highest supported
- virtual Common::List<Graphics::PixelFormat> getSupportedFormats();
+ virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;
#endif
// Set the size and format of the video bitmap.