vrend: Fix leaded fences.

Always waits fences to make sure the fence objects will be destroyed.

Signed-off-by: Lepton Wu <lepton@chromium.org>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Lepton Wu 5 years ago
parent 660ed37239
commit cdbc4296b6
  1. 2
      src/vrend_renderer.c

@ -7703,9 +7703,9 @@ int vrend_renderer_transfer_iov(const struct vrend_transfer_info *info,
if (info->context0) {
vrend_renderer_force_ctx_0();
virgl_egl_wait_fence(egl, fence);
ctx = NULL;
}
virgl_egl_wait_fence(egl, fence);
switch (transfer_mode) {
case VIRGL_TRANSFER_TO_HOST:

Loading…
Cancel
Save