Bug (and proposed fix): NullEngine recreates the texture for the glow layer every frame

That would have been an alternative option (though the PR’s been merged now).

One advantage with the fix as it is: When the effect layer notices a size change it notifies the size change observable. With the fix in place, it will notify the same way that the regular engine would. I’m guessing a lot of people use the NullEngine for integration tests (I certainly do!) so generally operating as similarly as possible to the regular engine is helpful.

1 Like