mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(GLUI) Fix code style
This commit is contained in:
parent
67b47e29f0
commit
992d58bd8c
@ -925,9 +925,9 @@ static void materialui_layout(menu_handle_t *menu, materialui_handle_t *material
|
||||
video_driver_get_size(&width, &height);
|
||||
|
||||
/* Mobiles platforms may have very small display metrics coupled to a high
|
||||
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. */
|
||||
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. */
|
||||
menu_display_ctl(MENU_DISPLAY_CTL_GET_DPI, &scale_factor);
|
||||
|
||||
new_header_height = scale_factor / 3;
|
||||
@ -1070,7 +1070,7 @@ static bool materialui_load_image(void *data, menu_image_type_t type)
|
||||
static float materialui_get_scroll(void)
|
||||
{
|
||||
size_t selection;
|
||||
unsigned width, height;
|
||||
unsigned width, height = 0;
|
||||
int half = 0;
|
||||
materialui_handle_t *materialui = NULL;
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
|
Loading…
x
Reference in New Issue
Block a user