Stefan Dösinger : wined3d: Set the display mode before creating the context.