Adapt to exposed CoglSnippetHook

It was exposed few cycles back, so get rid of the duplicated type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3519>
This commit is contained in:
Bilal Elmoussaoui
2024-10-21 10:25:33 +02:00
parent e091cccec8
commit fd8d923a34
4 changed files with 9 additions and 29 deletions

View File

@ -2993,7 +2993,7 @@ const RecolorEffect = GObject.registerClass({
cogl_color_out.rgb = \n
mix(recolor_color, cogl_color_out.rgb, blend); \n`;
this.add_glsl_snippet(Shell.SnippetHook.FRAGMENT, decl, src, false);
this.add_glsl_snippet(Cogl.SnippetHook.FRAGMENT, decl, src, false);
}
});