Bump to OPENRNDR 0.3.43-rc.14

This commit is contained in:
Edwin Jakobs
2020-07-02 18:02:06 +02:00
parent fee5475fe9
commit 0b0691e9ae
7 changed files with 42 additions and 30 deletions

View File

@@ -363,10 +363,10 @@ class ControlManager : Extension {
body?.draw?.dirty = true
if (renderTarget.colorBuffers.isNotEmpty()) {
if (renderTarget.colorAttachments.isNotEmpty()) {
renderTarget.colorBuffer(0).destroy()
renderTarget.depthBuffer?.destroy()
renderTarget.detachColorBuffers()
renderTarget.detachColorAttachments()
renderTarget.detachDepthBuffer()
renderTarget.destroy()
} else {