Am 13.04.2010 um 23:51 schrieb Henri Verbeet:
On 13 April 2010 23:13, Stefan Dösinger stefandoesinger@gmx.at wrote:
Am 13.04.2010 um 20:46 schrieb Henri Verbeet:
- if (wined3d_settings.strict_draw_ordering) wglFlush(); /* Flush to ensure ordering across contexts. */
I'd prefer to have this in an (inline) function.
I'm not sure I see how that's going to make things better.
Well, mostly to have the sync conditions and the way we sync in a single place. That'll make it easier to use more suited GL methods to order draws, e.g. sharing one context across multiple threads on OSX.