Flashing during SSAO switching

When switching on and off, the scene screen will appear white in an instant.
The following example:

cc @Evgeni_Popov

This PR will fix the problem:

3 Likes