mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +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 gfx_widgets_iterate(
|
||||||
void *data,
|
void *data,
|
||||||
|
void *data_disp,
|
||||||
unsigned width, unsigned height, bool fullscreen,
|
unsigned width, unsigned height, bool fullscreen,
|
||||||
const char *dir_assets, char *font_path,
|
const char *dir_assets, char *font_path,
|
||||||
bool is_threaded)
|
bool is_threaded)
|
||||||
@ -900,7 +901,7 @@ void gfx_widgets_iterate(
|
|||||||
* factor have changed */
|
* factor have changed */
|
||||||
float scale_factor = 0.0f;
|
float scale_factor = 0.0f;
|
||||||
#ifdef HAVE_XMB
|
#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;
|
enum menu_driver_id_type type = p_disp->menu_driver_id;
|
||||||
if (type == MENU_DRIVER_ID_XMB)
|
if (type == MENU_DRIVER_ID_XMB)
|
||||||
scale_factor = gfx_display_get_widget_pixel_scale(width, height, fullscreen);
|
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 gfx_widgets_iterate(
|
||||||
void *data,
|
void *data,
|
||||||
|
void *data_disp,
|
||||||
unsigned width, unsigned height, bool fullscreen,
|
unsigned width, unsigned height, bool fullscreen,
|
||||||
const char *dir_assets, char *font_path,
|
const char *dir_assets, char *font_path,
|
||||||
bool is_threaded);
|
bool is_threaded);
|
||||||
|
@ -39313,6 +39313,7 @@ static enum runloop_state runloop_check_state(
|
|||||||
RUNLOOP_MSG_QUEUE_LOCK();
|
RUNLOOP_MSG_QUEUE_LOCK();
|
||||||
gfx_widgets_iterate(
|
gfx_widgets_iterate(
|
||||||
&p_rarch->dispwidget_st,
|
&p_rarch->dispwidget_st,
|
||||||
|
&p_rarch->dispgfx,
|
||||||
p_rarch->video_driver_width,
|
p_rarch->video_driver_width,
|
||||||
p_rarch->video_driver_height,
|
p_rarch->video_driver_height,
|
||||||
video_is_fullscreen,
|
video_is_fullscreen,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user