[orx-temporal-blur] improve handling of state leaks

This commit is contained in:
Edwin Jakobs
2020-09-21 09:57:33 +02:00
parent 6ef5c03780
commit 9dd89dc8e5

View File

@@ -207,9 +207,8 @@ class TemporalBlur : Extension {
// -- render accumulated result
drawer.isolated {
drawer.defaults()
drawer.ortho(result!!)
drawer.model = Matrix44.IDENTITY
drawer.view = Matrix44.IDENTITY
drawer.isolatedWithTarget(result!!) {
drawer.drawStyle.blendMode = BlendMode.OVER