mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 02:26:16 +00:00
st/oxr: Fix typo
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2242>
This commit is contained in:
parent
d44c49dd1b
commit
e68339e331
|
@ -206,7 +206,7 @@ oxr_swapchain_common_acquire(struct oxr_logger *log, struct oxr_swapchain *sc, u
|
||||||
u_index_fifo_push(&sc->acquired.fifo, index);
|
u_index_fifo_push(&sc->acquired.fifo, index);
|
||||||
sc->images[index].state = OXR_IMAGE_STATE_ACQUIRED;
|
sc->images[index].state = OXR_IMAGE_STATE_ACQUIRED;
|
||||||
|
|
||||||
// If the compositor is resuing the image,
|
// If the compositor is reusing the image,
|
||||||
// mark it as invalid to use in xrEndFrame.
|
// mark it as invalid to use in xrEndFrame.
|
||||||
if (sc->released.index == (int)index) {
|
if (sc->released.index == (int)index) {
|
||||||
sc->released.yes = false;
|
sc->released.yes = false;
|
||||||
|
|
Loading…
Reference in a new issue