Henri Verbeet : wined3d: Properly check whether a context was created in swapchain_init().