]> git.tdb.fi Git - libs/gl.git/commit
Increment frame after destroying objects instead of before
authorMikko Rasa <tdb@tdb.fi>
Sat, 18 Dec 2021 18:19:55 +0000 (20:19 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 18 Dec 2021 18:21:28 +0000 (20:21 +0200)
commit7c17e52fbd532ec4db556b69b520d9372076e86d
tree765a6a0859458ae01a188a583240a6a2126566d9
parent5e611353c5fcaf9219bd3037a32bce0f91313264
Increment frame after destroying objects instead of before

Things were getting destroyed one frame too early since the destroy queue
is ticked after rendering a frame.
source/backends/vulkan/destroyqueue.cpp