Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Monogame window is twice the size as it's supposed to be when run from Visual Studio in Debug

$
0
0

@Muzzy_A wrote:

For a while when running the game window via the "Start" button in Visual Studio 2015 everything has worked fine. Recently the window size when running from the "Start" button in Debug mode the window is scaled up twice the size as it is supposed to be. This does not happen when running from "Start" in Release mode.

The viewport is still the same size as it's supposed to be, but it's stretched to fit the window. Clicking in the window doesn't give me positions that match the viewport, so it's a guessing game on where I'm actually clicking in the game.

Inside the "Game1" constructor I have this:

graphics = new GraphicsDeviceManager(this);
graphics.IsFullScreen = false;
graphics.PreferredDepthStencilFormat = DepthFormat.Depth24Stencil8;
graphics.PreferredBackBufferWidth = 1080;
graphics.PreferredBackBufferHeight = 1920;

I can't find anything online related to it. What can I do to fix it?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles