Skip to content

Commit

Permalink
fix windowed mode resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobharder committed Nov 5, 2023
1 parent a89c590 commit e2d09d0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/Burntime.MonoGame/BurntimeGame.cs
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ private void ApplyGraphicsDeviceResolution(bool initialize, bool resetWindowSize
{
if (resetWindowSize || initialize)
{
//Resolution.Native = new Platform.Vector2(GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width,
// GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height) / 2;
Resolution.Native = new Platform.Vector2(2560, 1440);
Resolution.Native = new Platform.Vector2(GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Width,
GraphicsAdapter.DefaultAdapter.CurrentDisplayMode.Height) / 2;
//Resolution.Native = new Platform.Vector2(2560, 1440);
}
else
{
Expand Down

0 comments on commit e2d09d0

Please sign in to comment.