GRAPHICS: Tentative fix saveScreenshot() warning for OpenGL

Building for Android (OpenGL) had noisy warning for hiding overloaded virtual function

Added a dummy implementation in OpenGLGraphics manager, and also for OpenGLSdlGraphicsManager it now explicitly calls the SdlGraphicsManager implementation for the void argument signature.
This commit is contained in:
antoniou79 2021-04-03 13:21:44 +03:00
parent 271d0ca27d
commit 0f118d0210
3 changed files with 30 additions and 0 deletions

View file

@ -362,6 +362,10 @@ bool OpenGLSdlGraphicsManager::saveScreenshot(const Common::String &filename) co
return OpenGLGraphicsManager::saveScreenshot(filename);
}
void OpenGLSdlGraphicsManager::saveScreenshot() {
SdlGraphicsManager::saveScreenshot();
}
bool OpenGLSdlGraphicsManager::setupMode(uint width, uint height) {
// In case we request a fullscreen mode we will use the mode the user
// has chosen last time or the biggest mode available.