mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-05-06 06:47:23 -04:00
render/vulkan: make bool function return false instead of NULL
This commit is contained in:
parent
9479b45642
commit
53b8352526
1 changed files with 1 additions and 1 deletions
|
|
@ -999,7 +999,7 @@ static bool create_3d_lut_image(struct wlr_vk_renderer *renderer,
|
|||
res = vkCreateImage(dev, &img_info, NULL, image);
|
||||
if (res != VK_SUCCESS) {
|
||||
wlr_vk_error("vkCreateImage failed", res);
|
||||
return NULL;
|
||||
return false;
|
||||
}
|
||||
|
||||
VkMemoryRequirements mem_reqs = {0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue