Commit dfff3935 authored by Laszlo Agocs's avatar Laszlo Agocs
Browse files

vk: avoid early destroy of renderbuffers' backing textures

parent 49827169
...@@ -3851,6 +3851,7 @@ void QVkRenderBuffer::release() ...@@ -3851,6 +3851,7 @@ void QVkRenderBuffer::release()
if (backingTexture) { if (backingTexture) {
Q_ASSERT(backingTexture->lastActiveFrameSlot == -1); Q_ASSERT(backingTexture->lastActiveFrameSlot == -1);
backingTexture->lastActiveFrameSlot = e.lastActiveFrameSlot;
backingTexture->release(); backingTexture->release();
} }
......
Supports Markdown
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