(XUI) menu_iterate_xui updated

This commit is contained in:
twinaphex 2014-03-05 03:55:16 +01:00
parent 75fee188e2
commit a225beb4e5

View File

@ -244,8 +244,8 @@ bool menu_iterate_xui(void)
xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data; xdk_d3d_video_t *d3d = (xdk_d3d_video_t*)driver.video_data;
LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)d3d->d3d_render_device; LPDIRECT3DDEVICE d3dr = (LPDIRECT3DDEVICE)d3d->d3d_render_device;
app.RunFrame(); /* Update XUI */ app.RunFrame();
XuiTimersRun();
XuiRenderBegin( app.GetDC(), D3DCOLOR_ARGB( 255, 0, 0, 0 ) ); XuiRenderBegin( app.GetDC(), D3DCOLOR_ARGB( 255, 0, 0, 0 ) );
D3DXMATRIX matOrigView; D3DXMATRIX matOrigView;
@ -259,7 +259,6 @@ bool menu_iterate_xui(void)
XuiRenderSetViewTransform( app.GetDC(), &matOrigView ); XuiRenderSetViewTransform( app.GetDC(), &matOrigView );
XuiRenderEnd( app.GetDC() ); XuiRenderEnd( app.GetDC() );
XuiTimersRun();
return true; return true;
} }