-
Notifications
You must be signed in to change notification settings - Fork 247
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
[BUG] - MultiViewer is broken on Linux with a hidpi monitor #179
Comments
Thanks for reporting the potential issue. |
By checking your code, I found that you have changed |
Ah, I didn't was aware of this OpenGL tradition. So sorry for this unnecessary change. |
Btw thanks for this wonderful piece of code. |
Thanks for your kind words! |
Of course. Here there are: Without patch: With patch: As far as I can see, they are identical. |
I don't have a Linux machine with a hidpi screen. But I've tried to fix this issue using a Mac (which has hidpi). |
Okay. Then please go with your changes. I will have to find a proper machine to further explore the issue. |
I forgot to mention a very small change to compile it with Visual Studio 2017:
But that's does not affect this issue |
Describe the bug
On a hidpi monitor (were dpi_scaling is 2) the MultiViewer doesn't display as expected
Tell us how to reproduce the bug
Just run the demo "Tutorial_205_MultiView" on a hidpi monitor.
Development/Running environment:
Additional context
The dpi_scaling is unnecessary applied to the sub viewports.
Here's the diff for my patch to fix it:
The text was updated successfully, but these errors were encountered: