how to set a custom size for window in monogame

181

how to set a custom size for window in monogame -

graphics.PreferredBackBufferWidth = WIDTH;  // set this value to the desired width of your window
graphics.PreferredBackBufferHeight = HEIGHT;   // set this value to the desired height of your window
graphics.ApplyChanges();

Comments

Submit
0 Comments