The open source OpenXR runtime

u/sink: Fix description of u_sink_simple_queue

Update the comment describing the u_sink_simple_queue to
explain that it buffers a single frame to a new thread,
replacing it as new frames come in if it hasn't been consumed
yet.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2188>

authored by

Jan Schmidt and committed by
Marge Bot
32e496ab 30ae628b

+4 -3
+4 -3
src/xrt/auxiliary/util/u_sink_simple_queue.c
··· 16 16 17 17 18 18 /*! 19 - * An @ref xrt_frame_sink queue, any frames received will be pushed to the 20 - * downstream consumer on the queue thread. Will drop frames should multiple 21 - * frames be queued up. 19 + * An @ref xrt_frame_sink queue that holds buffers a single xrt_frame 20 + * and passes it to the downstream consumer on the queue thread. If another 21 + * frame arrives before the current frame is consumed, the new frame replaces 22 + * the old one. 22 23 * 23 24 * @implements xrt_frame_sink 24 25 * @implements xrt_frame_node