Henri Verbeet : wined3d: Use the "adapter" local variable in swapchain_init ().