Fix post buffer cache bug in Compositor

This commit is contained in:
Edwin Jakobs
2020-03-01 14:07:40 +01:00
parent 899b8b1e7a
commit 699e254471

View File

@@ -93,8 +93,8 @@ open class Layer internal constructor() {
}
if (postBufferCache.isEmpty()) {
postBufferCache += colorBuffer(activeRenderTarget.width, activeRenderTarget.height, type = colorType)
postBufferCache += colorBuffer(activeRenderTarget.width, activeRenderTarget.height, type = colorType)
postBufferCache += persistent { colorBuffer(activeRenderTarget.width, activeRenderTarget.height, type = colorType) }
postBufferCache += persistent { colorBuffer(activeRenderTarget.width, activeRenderTarget.height, type = colorType) }
}
}