mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(GLUI) Set default DPI at 128 if DPI metric not implemented
This commit is contained in:
parent
c539a66b53
commit
17a11463b9
@ -600,9 +600,9 @@ static void *glui_init(void)
|
||||
|
||||
glui = (glui_handle_t*)menu->userdata;
|
||||
|
||||
float dpi = 96;
|
||||
float dpi = 128;
|
||||
if (!gfx_ctx_get_metrics(DISPLAY_METRIC_DPI, &dpi))
|
||||
dpi = 96;
|
||||
dpi = 128;
|
||||
|
||||
glui->line_height = dpi/3;
|
||||
glui->margin = dpi/6;
|
||||
|
Loading…
x
Reference in New Issue
Block a user