Henri Verbeet : wined3d: Add some error handling to create_primary_opengl_context().