Skip to content

v0.3.4 - Introduce "standalone" mode and fix OpenGL with some Windows drivers

Latest

Choose a tag to compare

@prokopyl prokopyl released this 12 Sep 16:20
· 2 commits to master since this release

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

Full Changelog: v0.3.3...v0.3.4