Mesa (main): zink: make a kopper debug print into an error
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Apr 19 01:10:13 UTC 2022
Module: Mesa
Branch: main
Commit: 9ecdc2e9851f5315f808841df45301efee6e3e6f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ecdc2e9851f5315f808841df45301efee6e3e6f
Author: Mike Blumenkrantz <michael.blumenkrantz at gmail.com>
Date: Mon Apr 18 14:39:24 2022 -0400
zink: make a kopper debug print into an error
Fixes: 8ade5588e39 ("zink: add kopper api")
Reviewed-by: Adam Jackson <ajax at redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16017>
---
src/gallium/drivers/zink/zink_kopper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/zink/zink_kopper.c b/src/gallium/drivers/zink/zink_kopper.c
index 3f10157ed09..9f36f93b466 100644
--- a/src/gallium/drivers/zink/zink_kopper.c
+++ b/src/gallium/drivers/zink/zink_kopper.c
@@ -689,7 +689,7 @@ zink_kopper_update(struct pipe_screen *pscreen, struct pipe_resource *pres, int
return true;
}
if (update_caps(screen, cdt) != VK_SUCCESS) {
- debug_printf("zink: failed to update swapchain capabilities");
+ mesa_loge("zink: failed to update swapchain capabilities");
return false;
}
*w = cdt->caps.currentExtent.width;
More information about the mesa-commit
mailing list