OPENGL3D: Make use of the active rect provided by WindowedGraphicsManager

This commit is contained in:
Cameron Cawley 2022-04-19 00:48:48 +01:00
parent a2f12d5788
commit d586250d83
4 changed files with 87 additions and 91 deletions

View file

@ -424,6 +424,7 @@ void initGraphics3d(int width, int height) {
g_system->initSize(width, height);
g_system->setFeatureState(OSystem::kFeatureFullscreenMode, ConfMan.getBool("fullscreen")); // TODO: Replace this with initCommonGFX()
g_system->setFeatureState(OSystem::kFeatureAspectRatioCorrection, ConfMan.getBool("aspect_ratio")); // TODO: Replace this with initCommonGFX()
g_system->setStretchMode(ConfMan.get("stretch_mode").c_str()); // TODO: Replace this with initCommonGFX()
g_system->endGFXTransaction();
}