mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Cleanups
This commit is contained in:
parent
7c7fe66dfc
commit
07416f1a0e
@ -4432,13 +4432,12 @@ static void materialui_render_nav_bar_right(
|
||||
}
|
||||
|
||||
static void materialui_render_nav_bar(
|
||||
materialui_handle_t *mui, video_frame_info_t *video_info,
|
||||
materialui_handle_t *mui,
|
||||
void *userdata,
|
||||
unsigned video_width,
|
||||
unsigned video_height,
|
||||
unsigned width, unsigned height)
|
||||
{
|
||||
void *userdata = video_info->userdata;
|
||||
unsigned video_width = video_info->width;
|
||||
unsigned video_height = video_info->height;
|
||||
|
||||
switch (mui->nav_bar.location)
|
||||
{
|
||||
case MUI_NAV_BAR_LOCATION_RIGHT:
|
||||
@ -5144,7 +5143,8 @@ static void materialui_frame(void *data, video_frame_info_t *video_info)
|
||||
video_height, width, height);
|
||||
|
||||
/* Draw navigation bar */
|
||||
materialui_render_nav_bar(mui, video_info, width, height);
|
||||
materialui_render_nav_bar(mui, userdata,
|
||||
video_width, video_height, width, height);
|
||||
|
||||
/* Flush second layer of text
|
||||
* > Title + system bar only use title and hint fonts */
|
||||
|
Loading…
x
Reference in New Issue
Block a user