Allan Tong : wined3d: Set swapchain container before flagging front buffer with SFLAG_INDRAWABLE .