Re: [PATCH 3/5] wined3d: Ensure draw ordering across contexts.
28 Jan
2010
28 Jan
'10
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?
28 Jan
28 Jan
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.
5887
Age (days ago)
5887
Last active (days ago)
1 comments
2 participants
participants (2)
-
Henri Verbeet -
Stefan Dösinger