[orx-compositor] Use resolveTo instead of copy work better in multisampling setups

This commit is contained in:
Edwin Jakobs
2020-07-22 17:44:11 +02:00
parent b35aede77f
commit 55b914cac1

View File

@@ -172,7 +172,7 @@ open class Layer internal constructor() {
localBlendFilter.first.apply(arrayOf(activeRenderTarget.colorBuffer(0), layerPost), activeRenderTarget.colorBuffer(0))
}
accumulation?.copyTo(target.colorBuffer(0))
accumulation?.resolveTo(target.colorBuffer(0))
}
}