mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 20:28:04 +02:00
frontends/va: Don't flush before resource_get_handle
resource_get_handle will flush if needed. Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33165>
This commit is contained in:
parent
54dbef9377
commit
faa5512464
1 changed files with 0 additions and 1 deletions
|
|
@ -455,7 +455,6 @@ vlVaAcquireBufferHandle(VADriverContextP ctx, VABufferID buf_id,
|
|||
struct winsys_handle whandle;
|
||||
|
||||
mtx_lock(&drv->mutex);
|
||||
drv->pipe->flush(drv->pipe, NULL, 0);
|
||||
|
||||
memset(&whandle, 0, sizeof(whandle));
|
||||
whandle.type = WINSYS_HANDLE_TYPE_FD;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue