[20/23] wined3d: Use GL_SYNC_FLUSH_COMMANDS_BIT with glClientWaitSync.

Andrew Wesie awesie at gmail.com
Sun Nov 13 12:35:20 CST 2016


Signed-off-by: Andrew Wesie <awesie at gmail.com>
---
 dlls/wined3d/query.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wined3d/query.c b/dlls/wined3d/query.c
index 97675ad..7176f31 100644
--- a/dlls/wined3d/query.c
+++ b/dlls/wined3d/query.c
@@ -92,7 +92,7 @@ static enum wined3d_event_query_result wined3d_event_query_test(const struct win
 
     if (gl_info->supported[ARB_SYNC])
     {
-        GLenum gl_ret = GL_EXTCALL(glClientWaitSync(query->object.sync, 0, 0));
+        GLenum gl_ret = GL_EXTCALL(glClientWaitSync(query->object.sync, GL_SYNC_FLUSH_COMMANDS_BIT, 0));
         checkGLcall("glClientWaitSync");
 
         switch (gl_ret)
-- 
2.7.4




More information about the wine-patches mailing list