diff options
Diffstat (limited to 'backends/graphics/openglsdl')
| -rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.cpp | 2 | ||||
| -rw-r--r-- | backends/graphics/openglsdl/openglsdl-graphics.h | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/graphics/openglsdl/openglsdl-graphics.cpp b/backends/graphics/openglsdl/openglsdl-graphics.cpp index 6207561c07..b12c3af5cd 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.cpp +++ b/backends/graphics/openglsdl/openglsdl-graphics.cpp @@ -57,7 +57,7 @@ const Graphics::PixelFormat RGBList[] = {  	Graphics::PixelFormat(2, 4, 4, 4, 4, 12, 8, 4, 0),  // RGBA4444  }; -Common::List<Graphics::PixelFormat> OpenGLSdlGraphicsManager::getSupportedFormats() { +Common::List<Graphics::PixelFormat> OpenGLSdlGraphicsManager::getSupportedFormats() const {  	static Common::List<Graphics::PixelFormat> list;  	static bool inited = false; diff --git a/backends/graphics/openglsdl/openglsdl-graphics.h b/backends/graphics/openglsdl/openglsdl-graphics.h index 0f69793c1b..56aae27ab7 100644 --- a/backends/graphics/openglsdl/openglsdl-graphics.h +++ b/backends/graphics/openglsdl/openglsdl-graphics.h @@ -45,7 +45,7 @@ public:  	virtual void init();  #ifdef USE_RGB_COLOR -	virtual Common::List<Graphics::PixelFormat> getSupportedFormats(); +	virtual Common::List<Graphics::PixelFormat> getSupportedFormats() const;  #endif  	virtual void warpMouse(int x, int y);  | 
