Love2d not starting in portrait mode on Android

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Posts: 2
Joined: Thu Jun 01, 2017 7:47 am

Love2d not starting in portrait mode on Android

Post by loustak » Fri Oct 25, 2019 9:42 pm


It seems that I have found a strange bug on Android. I have set in my manifest to start the game in portrait mode as follow:

Code: Select all

But for some reason the game is draw strangely like if it had some offset or something. When I quit the game and reopen it (without closing the application) the game now draw correctly on my phone...

My draw functions are intensiviely using the function , I suspect that it returns inccorect result before switching to portrait but I'm not able to provide a proof for this... Also, all my drawing code is inside a push / pop transform. The bug doesn't appear on Linux.

Any idea how to solve this problem? Thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests