mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 19:50:25 +01:00
zink: fix up KILL to a more sensible log message
cc: mesa-stable
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17009>
(cherry picked from commit 399104f049)
This commit is contained in:
parent
61cf43cea1
commit
c1f7b8edd7
2 changed files with 2 additions and 2 deletions
|
|
@ -1732,7 +1732,7 @@
|
|||
"description": "zink: fix up KILL to a more sensible log message",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null
|
||||
},
|
||||
|
|
|
|||
|
|
@ -516,7 +516,7 @@ kill_swapchain(struct zink_context *ctx, struct zink_resource *res)
|
|||
{
|
||||
struct zink_screen *screen = zink_screen(ctx->base.screen);
|
||||
/* dead swapchain */
|
||||
fprintf(stderr, "KILL %p\n", res);
|
||||
mesa_loge("zink: swapchain killed %p\n", res);
|
||||
zink_batch_reference_resource(&ctx->batch, res);
|
||||
struct pipe_resource *pres = screen->base.resource_create(&screen->base, &res->base.b);
|
||||
zink_resource_object_reference(screen, &res->obj, zink_resource(pres)->obj);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue