Navigation Menu

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

Avoid ZeroDivisionError when calculating hdpi factors #1090

Merged
merged 3 commits into from Feb 22, 2018
Merged

Avoid ZeroDivisionError when calculating hdpi factors #1090

merged 3 commits into from Feb 22, 2018

Conversation

papr
Copy link
Contributor

@papr papr commented Feb 20, 2018

Reasoning: glfwGetWindowSize might return window widths of value zero on Windows.
Fixes #1087

@papr papr added this to the v1.5 milestone Feb 22, 2018
@mkassner mkassner merged commit 4fa1768 into pupil-labs:master Feb 22, 2018
@papr papr deleted the zero_window_size branch March 12, 2020 14:43
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.

None yet

2 participants