mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-10 08:38:20 +00:00
f1b1da60ea
We now give ImGui the true logical size of the window and tell it to scale the framebuffer. To fix the blurry fonts, we continue to load fonts at the scale necessary for the DPI and use FontGlobalScale to shrink the fonts back to the logical size. The font rectangle is then expanded by the framebuffer scaling, resulting in good text rendering. This method has the advantage of not messing up the sizes of resizable overlays when moving across monitors. |
||
---|---|---|
.. | ||
cmake | ||
displayservers | ||
include | ||
renderers | ||
src | ||
CMakeLists.txt | ||
DEBUGGING.md |