Skip to content

Conversation

ntrrgc
Copy link
Contributor

@ntrrgc ntrrgc commented Apr 29, 2017

GL viewport did not account for content scale factor, which also resulted in a wrong projection.

For instance, this screenshot was taken with contentScaleFactor = 2. The RenderTexture node has a red clear color to make it easy to distinguish from the rest of the scene. It should contain a screenshot of the rest of the nodes. However, instead of them being centered, as in the real scene, they only use one quadrant in the screenshot. This PR fixes that bug.

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