[orx-temporal-blur] improve handling of state leaks
This commit is contained in:
@@ -207,9 +207,8 @@ class TemporalBlur : Extension {
|
|||||||
|
|
||||||
// -- render accumulated result
|
// -- render accumulated result
|
||||||
drawer.isolated {
|
drawer.isolated {
|
||||||
|
drawer.defaults()
|
||||||
drawer.ortho(result!!)
|
drawer.ortho(result!!)
|
||||||
drawer.model = Matrix44.IDENTITY
|
|
||||||
drawer.view = Matrix44.IDENTITY
|
|
||||||
|
|
||||||
drawer.isolatedWithTarget(result!!) {
|
drawer.isolatedWithTarget(result!!) {
|
||||||
drawer.drawStyle.blendMode = BlendMode.OVER
|
drawer.drawStyle.blendMode = BlendMode.OVER
|
||||||
|
|||||||
Reference in New Issue
Block a user