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

Popular posts from this blog

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

matlab - error with cyclic autocorrelation function -

php - Using grpc in Laravel, "Class 'Grpc\ChannelCredentials' not found." -