Remove gl_t pointer grabbing in xmb_frame

This commit is contained in:
twinaphex 2015-11-02 20:03:16 +01:00
parent 080213f5b3
commit b0d1434940

View File

@ -1533,7 +1533,6 @@ static void xmb_frame(void)
bool display_kb;
bool render_background = false;
xmb_handle_t *xmb = NULL;
gl_t *gl = NULL;
const struct font_renderer *font_driver = NULL;
menu_handle_t *menu = menu_driver_get_ptr();
settings_t *settings = config_get_ptr();
@ -1550,11 +1549,6 @@ static void xmb_frame(void)
if (!xmb)
return;
gl = (gl_t*)video_driver_get_ptr(NULL);
if (!gl)
return;
msg[0] = '\0';
title_msg[0] = '\0';
timedate[0] = '\0';