Browse Source

Fix crash when original aspect ratio is used with upscaling

Fixes #845
pull/859/head
Anders Jenbo 6 years ago
parent
commit
52a8cd5fdb
  1. 2
      SourceX/display.cpp

2
SourceX/display.cpp

@ -145,8 +145,8 @@ bool SpawnWindow(const char *lpWindowName)
if (upscale && !oar) {
CalculatePreferdWindowSize(width, height, integerScalingEnabled);
AdjustToScreenGeometry(width, height);
}
AdjustToScreenGeometry(width, height);
#ifdef USE_SDL1
if (upscale) {

Loading…
Cancel
Save