From b6dc234d3f1ff9c033e93f55d63b2e481c250296 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sat, 15 Feb 2025 16:59:17 +0100 Subject: [PATCH] :sparkles: Apply clang-format --- src/Shader.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/Shader.js b/src/Shader.js index 4b2af0c..fa5ba48 100644 --- a/src/Shader.js +++ b/src/Shader.js @@ -116,8 +116,8 @@ export var Shader = GObject.registerClass({ this._timeline.set_duration(duration); this._timeline.start(); - // Make sure that no fullscreen window is drawn over our animations. Since GNOME 48 this is a - // "global" method. + // Make sure that no fullscreen window is drawn over our animations. Since GNOME 48 + // this is a "global" method. if (Meta.disable_unredirect_for_display) { Meta.disable_unredirect_for_display(global.display); } else { @@ -190,7 +190,9 @@ export var Shader = GObject.registerClass({ const declarations = code.substr(0, match.index); const main = match[1]; - this.add_glsl_snippet(Cogl.SnippetHook ? Cogl.SnippetHook.FRAGMENT : Shell.SnippetHook.FRAGMENT, declarations, main, true); + this.add_glsl_snippet( + Cogl.SnippetHook ? Cogl.SnippetHook.FRAGMENT : Shell.SnippetHook.FRAGMENT, + declarations, main, true); } // We use this vfunc to trigger the update as it allows calling this.get_pipeline() in