https://bugs.freedesktop.org/show_bug.cgi?id=104214

--- Comment #31 from Thomas Hellström <thellst...@vmware.com> ---
(In reply to Evangelos Foutras from comment #30)

> FWIW the "buf->busy == 0" condition seems to always evaluate to true in my
> tests; if I omit it and print !!buf->busy before the
> dri3_free_render_buffer() call, it always outputs "0".

Yes, I think with the current hardcoded number of back buffers in the flip
chain, it should probably always evaluate to true. However if someone in the
future were to change that number, it might in some situations evaluate to
false, so I'd rather keep that test around to make the code less fragile.

/Thomas

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to