wined3d: Make sure all contexts are finished drawing before calling SwapBuffers().
commitdaf0aeb34a0e34f1a9519bdacff121cd85dced30
authorHenri Verbeet <hverbeet@codeweavers.com>
Wed, 27 Jan 2010 19:19:41 +0000 (27 20:19 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 28 Jan 2010 10:08:07 +0000 (28 11:08 +0100)
treec4fefa5e1ea4bff872ae955fb49be30011d0c8ad
parentce42470138a4805dce509a1fa806c8880530f324
wined3d: Make sure all contexts are finished drawing before calling SwapBuffers().

This causes a small performance hit when multiple GL contexts are used. As an
optimization we could use ARB_sync to only wait for the last draw call instead
of all GL commands.
dlls/wined3d/swapchain.c