This release fixes a particularly gnarly issue that occurs on Hi-DPI setups in Windows with some specific OpenGL drivers (namely NVIDIA and AMD).
In short, those drivers to not take the per-window DPI awareness into account, and only use the process' DPI awareness instead, which can cause severe rendering issues (such as the content being over-scaled and not fitting in the window, see #321 for more details).
As such, baseview will now fall back to the process' (i.e. the host's) DPI awareness when an OpenGL context is requested.
If you are running your UI code in standalone mode (i.e. not as a plugin, but in a standalone process), you can use baseview::assume_standalone_in_process to instruct baseview to set up the entire process (and OpenGL drivers) for DPI awareness. See that method's docs for more information.
What's Changed
- Add proper standalone mode by @prokopyl in #334
- Win32: Handle arbitrary DPI awareness context types by @prokopyl in #335
Full Changelog: v0.3.3...v0.3.4