(XDK D3D) Move g_extern.frame_count incrementin to swap_buffers

This commit is contained in:
twinaphex 2014-03-05 22:24:39 +01:00
parent fb48a9e356
commit 407cced43c
2 changed files with 0 additions and 4 deletions

View File

@ -262,9 +262,7 @@ static void gfx_ctx_xdk_update_window_title(void)
msg_queue_push(g_extern.msg_queue, buffer_fps, 1, 1);
}
#ifndef _XBOX
g_extern.frame_count++;
#endif
}
static void gfx_ctx_xdk_get_video_size(unsigned *width, unsigned *height)

View File

@ -828,8 +828,6 @@ static bool xdk_d3d_frame(void *data, const void *frame,
if (d3d && d3d->ctx_driver && d3d->ctx_driver->swap_buffers)
d3d->ctx_driver->swap_buffers();
g_extern.frame_count++;
return true;
}