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

Incorrect Screen Resolution in DirectX Windows Project

$
0
0

@uakshay wrote:

Hi Guys,

I have fixed resolution of my game to 800/600 but somehow when i run the game in release mode window size is 1014/645 and working fine in debug mode.

I have used below settings in game constructor:

            graphics.PreferredBackBufferWidth = 800;
            graphics.PreferredBackBufferHeight = 600;            

            graphics.ApplyChanges();

Not sure what i am doing wrong. Any insights?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles