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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user