Commit dfff3935 authored by Laszlo Agocs's avatar Laszlo Agocs

vk: avoid early destroy of renderbuffers' backing textures

parent 49827169
......@@ -3851,6 +3851,7 @@ void QVkRenderBuffer::release()
if (backingTexture) {
Q_ASSERT(backingTexture->lastActiveFrameSlot == -1);
backingTexture->lastActiveFrameSlot = e.lastActiveFrameSlot;
backingTexture->release();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment