mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-09 20:24:14 +00:00
[client] egl: scale UI elements on high DPI displays
This is done by actually rendering the text at high DPI.
This commit is contained in:
@@ -138,6 +138,11 @@ void egl_fps_set_display(EGL_FPS * fps, bool display)
|
||||
fps->display = display;
|
||||
}
|
||||
|
||||
void egl_fps_set_font(EGL_FPS * fps, LG_Font * fontObj)
|
||||
{
|
||||
fps->fontObj = fontObj;
|
||||
}
|
||||
|
||||
void egl_fps_update(EGL_FPS * fps, const float avgFPS, const float renderFPS)
|
||||
{
|
||||
if (!fps->display)
|
||||
|
Reference in New Issue
Block a user