diff options
Diffstat (limited to 'backends/platform/sdl')
| -rw-r--r-- | backends/platform/sdl/graphics.cpp | 2 | ||||
| -rw-r--r-- | backends/platform/sdl/sdl.h | 2 | 
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.  | 
