Henri Verbeet : wined3d: Take scanline ordering into account in the mode setting code.