BACKENDS: drop setDefaultFeatureState() usage, it's not needed
This commit is contained in:
parent
1178c5567f
commit
bb388295a4
4 changed files with 1 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue