✨ Apply clang-format
This commit is contained in:
+5
-3
@@ -116,8 +116,8 @@ export var Shader = GObject.registerClass({
|
|||||||
this._timeline.set_duration(duration);
|
this._timeline.set_duration(duration);
|
||||||
this._timeline.start();
|
this._timeline.start();
|
||||||
|
|
||||||
// Make sure that no fullscreen window is drawn over our animations. Since GNOME 48 this is a
|
// Make sure that no fullscreen window is drawn over our animations. Since GNOME 48
|
||||||
// "global" method.
|
// this is a "global" method.
|
||||||
if (Meta.disable_unredirect_for_display) {
|
if (Meta.disable_unredirect_for_display) {
|
||||||
Meta.disable_unredirect_for_display(global.display);
|
Meta.disable_unredirect_for_display(global.display);
|
||||||
} else {
|
} else {
|
||||||
@@ -190,7 +190,9 @@ export var Shader = GObject.registerClass({
|
|||||||
const declarations = code.substr(0, match.index);
|
const declarations = code.substr(0, match.index);
|
||||||
const main = match[1];
|
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
|
// We use this vfunc to trigger the update as it allows calling this.get_pipeline() in
|
||||||
|
|||||||
Reference in New Issue
Block a user