Yeah, I learned that there is a wxWidget class to get the pixel ratio of the screen, it is called scaleFactor in wxWidget terminology. Retina screens (hpdi) have a scale factor of 2.
Of course, the real problem is how to render everything in 2x for these screens.
Some parts of the app works fine in retina screen (eg the preferences windows). But everything inside the 3d editor looks blurred so I guess that I should find a way to render that in twice the resolution.
If you where to render the 3d editor in twice the resolution it has, how would be your approach?
Of course, the real problem is how to render everything in 2x for these screens.
Some parts of the app works fine in retina screen (eg the preferences windows). But everything inside the 3d editor looks blurred so I guess that I should find a way to render that in twice the resolution.
If you where to render the 3d editor in twice the resolution it has, how would be your approach?