From b5ad70a2a4bdedc6ddb35c22c215cd0c36ca53d0 Mon Sep 17 00:00:00 2001 From: Simon Schneegans Date: Sun, 9 Mar 2025 11:01:32 +0100 Subject: [PATCH] :sparkles: Apply clang-format --- src/Shader.js | 2 +- src/ShaderFactory.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Shader.js b/src/Shader.js index 9719884..fa5ba48 100644 --- a/src/Shader.js +++ b/src/Shader.js @@ -61,7 +61,7 @@ export var Shader = GObject.registerClass({ } }, - class Shader extends Shell.GLSLEffect{ + class Shader extends Shell.GLSLEffect { // -------------------------------------------- // The constructor automagically loads the shader's source code (in // vfunc_build_pipeline()) from the resource file resources/shaders/.glsl diff --git a/src/ShaderFactory.js b/src/ShaderFactory.js index 06fbea7..6056262 100644 --- a/src/ShaderFactory.js +++ b/src/ShaderFactory.js @@ -61,7 +61,7 @@ export default class ShaderFactory { // Only try to register the new type once. if (GObject.type_from_name(typeName) == null) { const outerThis = this; - GObject.registerClass({GTypeName: typeName}, class ShaderImp extends Shader{ + GObject.registerClass({GTypeName: typeName}, class ShaderImp extends Shader { // This will actually load the GLSL source code from the resources. _init() { super._init(outerThis._nick);