mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 09:49:14 +00:00
SDL: Fix the default scale factor for high resolution games
This fixes bug #12847: HQ filter broken when applied as a global setting
This commit is contained in:
parent
3550bd030f
commit
478fbbbe9b
@ -717,7 +717,8 @@ void SurfaceSdlGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFo
|
||||
if ((int)w != _videoMode.screenWidth || (int)h != _videoMode.screenHeight) {
|
||||
const bool useDefault = defaultGraphicsModeConfig();
|
||||
if (useDefault && w > 320) {
|
||||
setScaler(_videoMode.scalerIndex, 1);
|
||||
// Only the normal scaler has a 1x mode
|
||||
setScaler(ScalerMan.findScalerPluginIndex("normal"), 1);
|
||||
} else {
|
||||
setScaler(_videoMode.scalerIndex, ConfMan.getInt("scale_factor"));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user