Skip to content

Commit 2ab82a6

Browse files
committed
Windows Port: Fix bug where using a fixed window size for the display window would cause the display window to get shrunk by the GPU Scaling Factor. (Regression from commit d5e4ed5.)
1 parent 588b1ad commit 2ab82a6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

desmume/src/frontend/windows/main.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -653,9 +653,6 @@ void ScaleScreen(float factor, bool user)
653653
factor = 1.5f;
654654
else if(factor==kScale2point5x)
655655
factor = 2.5f;
656-
657-
//don't incorporate prescale into these calculations
658-
factor /= (float)WinGPUEvent->GetFramebufferDimensionsByScaleFactorInteger();
659656

660657
if (video.layout == 0)
661658
MainWindow->setClientSize((int)(video.rotatedwidthgap() * factor), (int)(video.rotatedheightgap() * factor));

0 commit comments

Comments
 (0)