Update RMenu XUI

This commit is contained in:
twinaphex 2015-12-10 15:45:05 +01:00
parent 87ff4d7d82
commit e44f6d5d81

View File

@ -398,7 +398,7 @@ end:
string_list_free(list); string_list_free(list);
} }
static void rmenu_xui_frame(void) static void rmenu_xui_frame(void *data)
{ {
XUIMessage msg; XUIMessage msg;
XUIMessageRender msgRender; XUIMessageRender msgRender;
@ -406,13 +406,7 @@ static void rmenu_xui_frame(void)
LPDIRECT3DDEVICE d3dr; LPDIRECT3DDEVICE d3dr;
const char *message; const char *message;
D3DVIEWPORT vp_full = {0}; D3DVIEWPORT vp_full = {0};
d3d_video_t *d3d = NULL; d3d_video_t *d3d = (d3d_video_t*)video_driver_get_ptr(false);
menu_handle_t *menu = menu_driver_get_ptr();
if (!menu)
return;
d3d = (d3d_video_t*)video_driver_get_ptr(false);
if (!d3d) if (!d3d)
return; return;