mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 23:43:34 +00:00
SDL: Use the desktop resolution when drawing games to a framebuffer
Fixes #1513.
This commit is contained in:
parent
fee73851f0
commit
31a29e666e
@ -159,7 +159,7 @@ void OpenGLSdlGraphicsManager::createOrUpdateScreen() {
|
||||
// Choose the effective window size or fullscreen mode
|
||||
uint effectiveWidth;
|
||||
uint effectiveHeight;
|
||||
if (_fullscreen && !renderToFrameBuffer) {
|
||||
if (_fullscreen && (engineSupportsArbitraryResolutions || renderToFrameBuffer)) {
|
||||
Common::Rect fullscreenResolution = getPreferredFullscreenResolution();
|
||||
effectiveWidth = fullscreenResolution.width();
|
||||
effectiveHeight = fullscreenResolution.height();
|
||||
|
Loading…
x
Reference in New Issue
Block a user