Commit Graph

2 Commits

Author SHA1 Message Date
Carlos Aragones
9e3704b96c hidpi compiling on Windows
Fix OpenGL backend for multiple windows
2020-09-21 10:03:35 +02:00
drfuchs
5691ca1441 Add hidpi test
Test hi-dpi "retina" display, where there are four times as many pixels as the window's (height x width) would have you believe.

On hi-res displays, the "HighRes" window will have one-pixel-wide vertical black bars within the red-to-purple gradient, while in the "LowRes" window they'll be two-pixel-wide. On regular displays, LowRes will have the one-pixel bars, and HiRes should be a down-sampled gradient with no bars.
2020-09-20 09:40:03 -07:00