Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GWT: Initial call to set viewport size fails for resizable application #6329

Merged
merged 1 commit into from
Dec 26, 2020

Conversation

MrStahlfelge
Copy link
Member

d3cbe98 introduced resizable applications with no configured with and height, therefore config.width and configh.height being 0.
The initial call to set the viewport size still based on this constants, causing this call to set an invalid size for resizable applications. This was not noticed because our tests and most games use an own viewport, but of all things, our starter template generated by gdx-setup fails to render correctly without this fix.

@MrStahlfelge
Copy link
Member Author

Thanks for the quick approvals guys ❤️

@MrStahlfelge MrStahlfelge merged commit f4d5f1d into libgdx:master Dec 26, 2020
@MrStahlfelge MrStahlfelge deleted the fixgwtresizable branch December 26, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants