Chip Davis : ddraw: Introduce a helper to convert ddraw render states to wined3d states.