Skip to content

Commit 18e6d50

Browse files
committed
BackgroundBlurEffect: keep getting Cogl.Context from default Clutter.Backend on libmutter15+
See elementary/gala#2710
1 parent 1960033 commit 18e6d50

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

compositor/BackgroundBlurEffect.vala

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,7 @@ public class GreeterCompositor.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)