Zebediah Figura : wined3d: Wait for the resource to become idle in wined3d_cs_map().