QWaylandView: Discard back buffer on buffer swap


When the back buffers becomes the front buffer in QWaylandView::advance(),
there is no any particular reason to keep it referenced as back buffer.

Change-Id: If1f29a6c9600bbb99ac19335241f1f9b5c169713
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
commit93302c378130e7b0d94b7ec85426954024375b9a
parent09e28054f2f424134ae1990529e5281847236af6
authorKonstantin Ritt <ritt.ks@gmail.com>
committerKonstantin Ritt <ritt.ks@gmail.com>
commit timeThu, 4 Dec 2025 18:55:49 +0300