mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
c/util: Fix typo
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2378>
This commit is contained in:
parent
09fa275443
commit
bf37f05434
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue