anv/x11: Reset the SHM fence before presenting the pixmap

This seems to fix the flicker issue that I was seeing with dota2
This commit is contained in:
Jason Ekstrand
2016-03-11 17:22:44 -08:00
parent 9bff5266be
commit 753ebe4457
+2
View File
@@ -548,6 +548,8 @@ x11_queue_present(struct anv_swapchain *anv_chain,
options |= XCB_PRESENT_OPTION_ASYNC;
xshmfence_reset(image->shm_fence);
xcb_void_cookie_t cookie =
xcb_present_pixmap(chain->conn,
chain->window,