lookingGlass: Use Cogl.Pipeline.new to construct new pipelines

new Cogl.Pipeline now constructs a GObject via g_object_new and not via
cogl_pipeline_new. Construction via g_object_new requires a some
construct only parameters so either way, this call doesn't work anymore.

Closes: https://gitlab.gnome.org/GNOME/mutter/-/issues/3144
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3057>
This commit is contained in:
Sebastian Wick
2023-12-15 16:36:47 +01:00
committed by Marge Bot
parent 02c8249e0b
commit 6b9c04de6e
2 changed files with 2 additions and 2 deletions

View File

@ -542,7 +542,7 @@ class RedBorderEffect extends Clutter.Effect {
let color = new Cogl.Color();
color.init_from_4ub(0xff, 0, 0, 0xc4);
this._pipeline = new Cogl.Pipeline(coglContext);
this._pipeline = Cogl.Pipeline.new(coglContext);
this._pipeline.set_color(color);
}