c# - Monogame on Windows Phone 8 wrong backbuffer size -
i have created monogame project windows phone 8.0 template. when deploy app (that should show blue screen), backbuffer size wrong (it small). when changed grid drawingsurfacebackgroundgrid, backbuffer size fine, project not in landscape - in portrait. how can fix it?
i use lumia 635 windows mobile 10.
in game constructor, specify backbuffer size want use. example:
public game1() { graphics = new graphicsdevicemanager(this); graphics.preferredbackbufferwidth = 800; graphics.preferredbackbufferheight = 600; content.rootdirectory = "content"; }
Comments
Post a Comment