Only release shared buffers before the next frame

Releasing buffers before even using them is potentially the cause of tearing on secondary GPUs.

BUG: 425586

Edited by Xaver Hugl

Merge request reports

Loading