(D3D) Use d3d_swap wrapper function