BACKENDS: drop setDefaultFeatureState() usage, it's not needed

This commit is contained in:
Paweł Kołodziejski 2020-10-16 20:17:29 +02:00
parent 1178c5567f
commit bb388295a4
4 changed files with 1 additions and 13 deletions

View file

@ -791,9 +791,6 @@ bool OSystem_SDL::setGraphicsMode(int mode, uint flags) {
delete sdlGraphics3dManager;
}
_graphicsManager = sdlGraphics3dManager = new OpenGLSdlGraphics3dManager(_eventSource, _window, _capabilities);
// Setup feature defaults for 3D gfx while switching from 2D
if (sdlGraphicsManager)
sdlGraphics3dManager->setDefaultFeatureState();
switchedManager = true;
}
#endif