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

MonoGame mixing up Viewport Size of Android device

$
0
0

@globalenemy wrote:

Greetings,
Somehow MonoGame is mixing up the Viewport Size of my Android device.

In Portrait orientation the Viewport Size should be { 1080, 1848 }
but in GraphicsDevice.Viewport.Width it is { 1920 }
and in GraphicsDevice.Viewport.Height it is { 1008 }

I debugged how the value is changed when I make the screen orientation change. And the values are changing but stay swapped.

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles