mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 11:18:08 +02:00
zink: fix wording of warning
The string-argument for this function is the name of the feature, not
the entire message.
Fixes: ea0e22da44 ("zink: use warn_missing_feature for missing modifier support")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25644>
This commit is contained in:
parent
052d12492d
commit
3485744087
1 changed files with 1 additions and 1 deletions
|
|
@ -1765,7 +1765,7 @@ zink_resource_get_handle(struct pipe_screen *pscreen,
|
|||
assert(!zink_resource_usage_is_unflushed(res));
|
||||
if (!screen->info.have_EXT_image_drm_format_modifier) {
|
||||
static bool warned = false;
|
||||
warn_missing_feature(warned, "zink: EXT_image_drm_format_modifier support required");
|
||||
warn_missing_feature(warned, "EXT_image_drm_format_modifier");
|
||||
return false;
|
||||
}
|
||||
unsigned bind = ZINK_BIND_DMABUF;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue