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 6ad9846 commit 796fea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion DXMainClient/DXGUI/GameClass.cs
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,8 @@ public static void SetGraphicsMode(WindowManager wm)
wm.CenterOnScreen();

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

Expand Down

0 comments on commit 796fea5

Please sign in to comment.