Skip to content
This repository has been archived by the owner on Aug 1, 2022. It is now read-only.

Resolution not captured correctly on init #123

Open
PyroFire232 opened this issue May 24, 2021 · 0 comments
Open

Resolution not captured correctly on init #123

PyroFire232 opened this issue May 24, 2021 · 0 comments

Comments

@PyroFire232
Copy link

There's an issue how UI::getScreenWidth/Height does not give the correct numbers for some time during initialization.
In my feature branch, it is particularly noticeable how the loading screen starts at full screen, then shrinks to a tiny 10x10 square at the top left corner of the screen, then back again to full screen.
The only thing that can cause this is the resolution not being captured correctly.
I'm not sure what's causing it, but it seems to happen between the player controller init, and when the first game world object is spawned.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant