(GLUI) remove that reference to 1920, and use a ratio such as the font size will be 32px on a 1920x1080 display like on XMB

This commit is contained in:
Jean-André Santoni 2015-07-08 01:01:28 +07:00
parent 457ffd3dd8
commit be51f54ab5
1 changed files with 1 additions and 1 deletions

View File

@ -526,7 +526,7 @@ proportional to the display width. */
#ifdef RARCH_MOBILE
scale_factor = menu_display_get_dpi();
#else
scale_factor = width * 256 / 1920;
scale_factor = width / 7.5;
#endif
glui->line_height = scale_factor / 3;