mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
pass correct userdata object to gfx_display functions
This commit is contained in:
parent
e21558c207
commit
00fad3c6d0
@ -134,7 +134,7 @@ static void gfx_widget_achievement_popup_frame(void* data, void* userdata)
|
||||
/* Icon */
|
||||
if (p_dispwidget->gfx_widgets_icons_textures[MENU_WIDGETS_ICON_ACHIEVEMENT])
|
||||
{
|
||||
gfx_display_blend_begin(userdata);
|
||||
gfx_display_blend_begin(video_info->userdata);
|
||||
gfx_widgets_draw_icon(
|
||||
video_info->userdata,
|
||||
video_width,
|
||||
@ -145,7 +145,7 @@ static void gfx_widget_achievement_popup_frame(void* data, void* userdata)
|
||||
0,
|
||||
state->y,
|
||||
video_width, video_height, 0, 1, gfx_widgets_get_pure_white());
|
||||
gfx_display_blend_end(userdata);
|
||||
gfx_display_blend_end(video_info->userdata);
|
||||
}
|
||||
}
|
||||
/* Badge */
|
||||
@ -220,7 +220,7 @@ static void gfx_widget_achievement_popup_frame(void* data, void* userdata)
|
||||
{
|
||||
gfx_widgets_flush_text(video_width, video_height,
|
||||
&p_dispwidget->gfx_widget_fonts.regular);
|
||||
gfx_display_scissor_end(userdata,
|
||||
gfx_display_scissor_end(video_info->userdata,
|
||||
video_width, video_height);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user