mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
SURFACESDL: Stop forceful resetting of _videoMode.hardware* when calling SurfaceSdlGraphicsManager::loadGFXMode() for the GPH backend.
* Note: This really should be cleaned up and all backends that have a custom loadGFXMode() really should setup their own _videoMode.hardware* settings. Assuming the overlay will always match the hardware is flawed logic on devices with fixed hardware screens. * Just done for the GPH backend for now to cut down on the regresion risk to other backends near the 1.4.0 release cycle.
This commit is contained in:
parent
5e8562d373
commit
69683b8ee0
@ -731,7 +731,8 @@ bool SurfaceSdlGraphicsManager::loadGFXMode() {
|
||||
|
||||
_videoMode.hardwareWidth = _videoMode.screenWidth * _videoMode.scaleFactor;
|
||||
_videoMode.hardwareHeight = effectiveScreenHeight();
|
||||
#else
|
||||
// On GPH devices ALL the _videoMode.hardware... are setup in GPHGraphicsManager::loadGFXMode()
|
||||
#elif !defined(GPH_DEVICE)
|
||||
_videoMode.hardwareWidth = _videoMode.overlayWidth;
|
||||
_videoMode.hardwareHeight = _videoMode.overlayHeight;
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user