Stefan Dösinger : wined3d: Call glFlush after updating a buffer.
Alexandre Julliard
julliard at winehq.org
Wed Aug 24 14:05:18 CDT 2011
Module: wine
Branch: master
Commit: 5d1d07abcf3deab4397a0008ae8c44493a721c6a
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5d1d07abcf3deab4397a0008ae8c44493a721c6a
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Sun Aug 7 23:43:13 2011 +0200
wined3d: Call glFlush after updating a buffer.
---
dlls/wined3d/buffer.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/buffer.c b/dlls/wined3d/buffer.c
index ae04138..45518cc 100644
--- a/dlls/wined3d/buffer.c
+++ b/dlls/wined3d/buffer.c
@@ -1166,6 +1166,7 @@ void CDECL wined3d_buffer_unmap(struct wined3d_buffer *buffer)
GL_EXTCALL(glUnmapBufferARB(buffer->buffer_type_hint));
LEAVE_GL();
+ if (wined3d_settings.strict_draw_ordering) wglFlush(); /* Flush to ensure ordering across contexts. */
context_release(context);
buffer->resource.allocatedMemory = NULL;
More information about the wine-cvs
mailing list