diff options
| author | Johannes Schickel | 2013-10-21 01:03:29 +0200 |
|---|---|---|
| committer | Kamil Zbróg | 2013-10-24 12:59:16 +0100 |
| commit | 06e4b3e060756dd1be1d86919af48afa8496e24b (patch) | |
| tree | ff1b7f6e4608d91c9eceae85f5f85c54b19f6d73 /backends/graphics/opengl | |
| parent | 4834017476f0abf8a4724179191c7fd1ed319fa2 (diff) | |
| download | scummvm-rg350-06e4b3e060756dd1be1d86919af48afa8496e24b.tar.gz scummvm-rg350-06e4b3e060756dd1be1d86919af48afa8496e24b.tar.bz2 scummvm-rg350-06e4b3e060756dd1be1d86919af48afa8496e24b.zip | |
SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL.
Diffstat (limited to 'backends/graphics/opengl')
| -rw-r--r-- | backends/graphics/opengl/opengl-graphics.cpp | 4 | ||||
| -rw-r--r-- | backends/graphics/opengl/opengl-graphics.h | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/backends/graphics/opengl/opengl-graphics.cpp b/backends/graphics/opengl/opengl-graphics.cpp index 00e8dc358e..9ad0e62f37 100644 --- a/backends/graphics/opengl/opengl-graphics.cpp +++ b/backends/graphics/opengl/opengl-graphics.cpp @@ -122,10 +122,6 @@ const OSystem::GraphicsMode glGraphicsModes[] = { } // End of anonymous namespace -const OSystem::GraphicsMode *OpenGLGraphicsManager::supportedGraphicsModes() { - return glGraphicsModes; -} - const OSystem::GraphicsMode *OpenGLGraphicsManager::getSupportedGraphicsModes() const { return glGraphicsModes; } diff --git a/backends/graphics/opengl/opengl-graphics.h b/backends/graphics/opengl/opengl-graphics.h index ebfe38fb60..d2d0358407 100644 --- a/backends/graphics/opengl/opengl-graphics.h +++ b/backends/graphics/opengl/opengl-graphics.h @@ -57,10 +57,6 @@ public: virtual void setFeatureState(OSystem::Feature f, bool enable); virtual bool getFeatureState(OSystem::Feature f); - // HACK: This is required for the SDL backend to switch between OpenGL SDL - // and Surface SDL. - static const OSystem::GraphicsMode *supportedGraphicsModes(); - virtual const OSystem::GraphicsMode *getSupportedGraphicsModes() const; virtual int getDefaultGraphicsMode() const; virtual bool setGraphicsMode(int mode); |
