(Zarch) Buildfix

This commit is contained in:
twinaphex 2018-02-16 21:47:42 +01:00
parent 070c09faec
commit 5888718c04
1 changed files with 6 additions and 6 deletions

View File

@ -951,7 +951,7 @@ static void zarch_frame(void *data, video_frame_info_t *video_info)
else if (zui->item.active == 0) else if (zui->item.active == 0)
zui->item.active = -1; zui->item.active = -1;
menu_display_blend_begin(); menu_display_blend_begin(video_info);
draw.x = 0; draw.x = 0;
draw.y = 0; draw.y = 0;
@ -963,8 +963,8 @@ static void zarch_frame(void *data, video_frame_info_t *video_info)
draw.prim_type = MENU_DISPLAY_PRIM_TRIANGLES; draw.prim_type = MENU_DISPLAY_PRIM_TRIANGLES;
draw.pipeline.id = 0; draw.pipeline.id = 0;
menu_display_draw(&draw); menu_display_draw(&draw, video_info);
menu_display_blend_end(); menu_display_blend_end(video_info);
memset(&draw, 0, sizeof(menu_display_ctx_draw_t)); memset(&draw, 0, sizeof(menu_display_ctx_draw_t));
@ -984,14 +984,14 @@ static void zarch_frame(void *data, video_frame_info_t *video_info)
if (!video_info->libretro_running && draw.texture) if (!video_info->libretro_running && draw.texture)
draw.color = &coord_color2[0]; draw.color = &coord_color2[0];
menu_display_blend_begin(); menu_display_blend_begin(video_info);
draw.x = 0; draw.x = 0;
draw.y = 0; draw.y = 0;
menu_display_draw_bg(&draw, video_info, false, menu_display_draw_bg(&draw, video_info, false,
video_info->menu_wallpaper_opacity); video_info->menu_wallpaper_opacity);
menu_display_draw(&draw); menu_display_draw(&draw, video_info);
menu_display_blend_end(); menu_display_blend_end(video_info);
zui->rendering = false; zui->rendering = false;