From 9b019dbc1ed7985408fbfd4cdb08bfbf67278d00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Higor=20Eur=C3=ADpedes?= Date: Wed, 15 Jul 2015 18:50:36 -0300 Subject: [PATCH] (GLUI) Always query dpi --- menu/drivers/glui.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/menu/drivers/glui.c b/menu/drivers/glui.c index ce5910b9c4..0c85ced9f3 100644 --- a/menu/drivers/glui.c +++ b/menu/drivers/glui.c @@ -527,11 +527,7 @@ static void glui_layout(menu_handle_t *menu, glui_handle_t *glui) resolution, so we should be dpi aware to ensure the entries hitboxes are big enough. On desktops, we just care about readability, with every widget size proportional to the display width. */ -#ifdef RARCH_MOBILE scale_factor = menu_display_get_dpi(); -#else - scale_factor = width / 7.5; -#endif glui->line_height = scale_factor / 3; glui->margin = scale_factor / 6;