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

Fix tool handles not clicking on mac/retina screens #57

Merged
merged 1 commit into from
Jun 1, 2022

Conversation

JamesTKhan
Copy link
Owner

This fixes an issue where mac computers with retina screens cannot use tool handles to manipulate game objects, the clicks are not detected. This appears to be related to HDPI and the framebuffer used to detect clicks on the tool handles. Implemented a fix using temporary Pixels HDPI mode when rendering to tool handle FBO as described in wiki: https://libgdx.com/wiki/graphics/opengl-utils/frame-buffer-objects

@JamesTKhan JamesTKhan merged commit 7b6a9df into master Jun 1, 2022
@JamesTKhan JamesTKhan deleted the hdpi-tool-fix branch July 9, 2022 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant