Skip to content

Commit b39e21f

Browse files
committed
BackgroundBlurEffect: keep getting Cogl.Context from default Clutter.Backend on libmutter15+
1 parent 505e1f3 commit b39e21f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/BackgroundBlurEffect.vala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ public class Gala.BackgroundBlurEffect : Clutter.Effect {
3939
}
4040

4141
construct {
42-
#if HAS_MUTTER47
43-
unowned var ctx = actor.context.get_backend ().get_cogl_context ();
44-
#else
4542
unowned var ctx = Clutter.get_default_backend ().get_cogl_context ();
46-
#endif
4743

4844
actor_pipeline = new Cogl.Pipeline (ctx);
4945
actor_pipeline.set_layer_null_texture (0);

0 commit comments

Comments
 (0)