mirror of
https://github.com/TASEmulators/desmume
synced 2025-10-05 16:22:49 +02:00
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.)
This commit is contained in:
@@ -653,9 +653,6 @@ void ScaleScreen(float factor, bool user)
|
||||
factor = 1.5f;
|
||||
else if(factor==kScale2point5x)
|
||||
factor = 2.5f;
|
||||
|
||||
//don't incorporate prescale into these calculations
|
||||
factor /= (float)WinGPUEvent->GetFramebufferDimensionsByScaleFactorInteger();
|
||||
|
||||
if (video.layout == 0)
|
||||
MainWindow->setClientSize((int)(video.rotatedwidthgap() * factor), (int)(video.rotatedheightgap() * factor));
|
||||
|
Reference in New Issue
Block a user