Skip to content

Commit

Permalink
Update GameClass.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
SadPencil committed Sep 19, 2024
1 parent 796fea5 commit a98ed67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DXMainClient/DXGUI/GameClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ public static void SetGraphicsMode(WindowManager wm)
bool borderlessWindowedClient = UserINISettings.Instance.BorderlessWindowedClient;

bool integerScale = UserINISettings.Instance.IntegerScaledClient;
wm.IntegerScalingOnly = integerScale;

(int desktopWidth, int desktopHeight) = ScreenResolution.SafeMaximumResolution;

Expand Down Expand Up @@ -433,7 +434,6 @@ public static void SetGraphicsMode(WindowManager wm)
wm.CenterOnScreen();

Logger.Log("Setting render resolution to " + renderResolutionX + "x" + renderResolutionY + ". Integer scaling: " + integerScale);
wm.IntegerScalingOnly = integerScale;
wm.SetRenderResolution(renderResolutionX, renderResolutionY);
}
}
Expand Down

0 comments on commit a98ed67

Please sign in to comment.