Re: [PATCH 3/5] wined3d: Ensure draw ordering across contexts.
Jan. 28, 2010
8:40 a.m.
- if (SUCCEEDED(IWineD3DSurface_GetContainer((IWineD3DSurface *)target, &IID_IWineD3DSwapChain, (void **)&swapchain))) { - if (target == (IWineD3DSurfaceImpl*) swapchain->frontBuffer) { - wglFlush(); - } - IWineD3DSwapChain_Release((IWineD3DSwapChain *) swapchain); - } + wglFlush(); /* Flush to ensure ordering across contexts. */ Why do we have to do this even when there is only one context? In the event another context is created after the draw?
Jan. 28, 2010
10:31 a.m.
New subject: [PATCH 3/5] wined3d: Ensure draw ordering across contexts.
On 28 January 2010 09:40, Stefan Dösinger <stefandoesinger(a)gmx.at> wrote:
Why do we have to do this even when there is only one context? In the event another context is created after the draw?
Yes.
6079
Age (days ago)
6079
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Stefan Dösinger