(XMB) Move set viewport call outside

This commit is contained in:
twinaphex 2016-04-12 20:17:50 +02:00
parent 033cecf08c
commit 83efd732dd
2 changed files with 1 additions and 2 deletions

View File

@ -1918,6 +1918,7 @@ static void xmb_frame_horizontal_list(xmb_handle_t *xmb,
static void xmb_draw_bg(menu_display_ctx_draw_t *draw)
{
menu_display_ctl(MENU_DISPLAY_CTL_SET_VIEWPORT, NULL);
menu_display_ctl(MENU_DISPLAY_CTL_DRAW_BG, draw);
}

View File

@ -164,8 +164,6 @@ static void menu_display_gl_draw_bg(void *data)
menu_display_gl_blend_begin();
menu_display_ctl(MENU_DISPLAY_CTL_SET_VIEWPORT, NULL);
draw->x = 0;
draw->y = 0;
draw->coords = &coords;