Skip to content

Fixed stretching of the gl window so it allows for accurate scaling.#1

Open
JFlynnXYZ wants to merge 1 commit intoNCCA:masterfrom
JFlynnXYZ:master
Open

Fixed stretching of the gl window so it allows for accurate scaling.#1
JFlynnXYZ wants to merge 1 commit intoNCCA:masterfrom
JFlynnXYZ:master

Conversation

@JFlynnXYZ
Copy link

The openGL context kept stretching instead of scaling to keep the aspect ratio accurate. The code was there to do this but the function to update the camera wasn't called on the resize events. I've simply added the function to the resize events to allow this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant