This commit is contained in:
twinaphex 2017-10-03 05:34:05 +02:00
parent 7dcafe4b40
commit 79908ec8d4

View File

@ -410,7 +410,6 @@ static void xui_frame(void *data, video_frame_info_t *video_info)
XUIMessage msg;
XUIMessageRender msgRender;
D3DXMATRIX matOrigView;
LPDIRECT3DDEVICE d3dr;
const char *message = NULL;
D3DVIEWPORT vp_full = {0};
d3d_video_t *d3d = (d3d_video_t*)video_driver_get_ptr(false);
@ -418,11 +417,6 @@ static void xui_frame(void *data, video_frame_info_t *video_info)
if (!d3d)
return;
d3dr = (LPDIRECT3DDEVICE)d3d->dev;
if (!d3dr)
return;
xui_frame_count++;
menu_display_set_viewport(video_info->width, video_info->height);