c/util: Fix typo

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2378>
This commit is contained in:
Rylie Pavlik 2024-12-06 16:29:32 -06:00
parent 09fa275443
commit bf37f05434

View file

@ -154,7 +154,7 @@ cmd_barrier_view_images(struct vk_bundle *vk,
}; };
for (uint32_t i = 0; i < d->view_count; i++) { for (uint32_t i = 0; i < d->view_count; i++) {
bool already_barried = false; bool already_barriered = false;
VkImage image = d->views[i].image; VkImage image = d->views[i].image;
@ -163,12 +163,12 @@ cmd_barrier_view_images(struct vk_bundle *vk,
k--; // k is always greater then zero. k--; // k is always greater then zero.
if (d->views[k].image == image) { if (d->views[k].image == image) {
already_barried = true; already_barriered = true;
break; break;
} }
} }
if (already_barried) { if (already_barriered) {
continue; continue;
} }