mirror of
https://github.com/libretro/RetroArch
synced 2025-03-24 22:43:41 +00:00
gfx_widgets_iterate - cleanup
This commit is contained in:
parent
c736f2ce28
commit
a38ecbe7de
@ -890,6 +890,7 @@ static void gfx_widgets_layout(
|
||||
|
||||
void gfx_widgets_iterate(
|
||||
void *data,
|
||||
void *data_disp,
|
||||
unsigned width, unsigned height, bool fullscreen,
|
||||
const char *dir_assets, char *font_path,
|
||||
bool is_threaded)
|
||||
@ -900,7 +901,7 @@ void gfx_widgets_iterate(
|
||||
* factor have changed */
|
||||
float scale_factor = 0.0f;
|
||||
#ifdef HAVE_XMB
|
||||
gfx_display_t *p_disp = disp_get_ptr();
|
||||
gfx_display_t *p_disp = (gfx_display_t*)data_disp;
|
||||
enum menu_driver_id_type type = p_disp->menu_driver_id;
|
||||
if (type == MENU_DRIVER_ID_XMB)
|
||||
scale_factor = gfx_display_get_widget_pixel_scale(width, height, fullscreen);
|
||||
|
@ -323,6 +323,7 @@ void gfx_widget_volume_update_and_show(float new_volume,
|
||||
|
||||
void gfx_widgets_iterate(
|
||||
void *data,
|
||||
void *data_disp,
|
||||
unsigned width, unsigned height, bool fullscreen,
|
||||
const char *dir_assets, char *font_path,
|
||||
bool is_threaded);
|
||||
|
@ -39313,6 +39313,7 @@ static enum runloop_state runloop_check_state(
|
||||
RUNLOOP_MSG_QUEUE_LOCK();
|
||||
gfx_widgets_iterate(
|
||||
&p_rarch->dispwidget_st,
|
||||
&p_rarch->dispgfx,
|
||||
p_rarch->video_driver_width,
|
||||
p_rarch->video_driver_height,
|
||||
video_is_fullscreen,
|
||||
|
Loading…
x
Reference in New Issue
Block a user