(XDK D3D) Move g_extern.frame_count incrementin to swap_buffers