mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
zink: do not unmap dt-buffers twice
Seems I missed that we already did an unconditional unmap here, and forgot to remove it. Whoops. Fixes:5159f406d("zink: use gallium api to copy to display-target") Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11414> (cherry picked from commit0bb4703292)
This commit is contained in:
parent
007e596ac5
commit
3771988c55
2 changed files with 1 additions and 3 deletions
|
|
@ -1156,7 +1156,7 @@
|
|||
"description": "zink: do not unmap dt-buffers twice",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "5159f406d895c6a253e90c6b076045ac133e55af"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1061,8 +1061,6 @@ zink_flush_frontbuffer(struct pipe_screen *pscreen,
|
|||
winsys->displaytarget_unmap(winsys, res->dt);
|
||||
}
|
||||
|
||||
winsys->displaytarget_unmap(winsys, res->dt);
|
||||
|
||||
assert(res->dt);
|
||||
if (res->dt)
|
||||
winsys->displaytarget_display(winsys, res->dt, winsys_drawable_handle, sub_box);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue