From 77a7a04637c470424142550a44923cae746b722d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Wed, 19 Mar 2025 21:15:37 +0100 Subject: [PATCH] Fixed missing semicolons --- GlitchyEditor/src/Assets/Processors/MaterialProcessor.bf | 2 +- GlitchyEngine/src/Events/KeyEvent.bf | 4 ++-- GlitchyEngine/src/Renderer/IndexBuffer.bf | 2 +- GlitchyEngine/src/Window.bf | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/GlitchyEditor/src/Assets/Processors/MaterialProcessor.bf b/GlitchyEditor/src/Assets/Processors/MaterialProcessor.bf index 853c0f5..adb892b 100644 --- a/GlitchyEditor/src/Assets/Processors/MaterialProcessor.bf +++ b/GlitchyEditor/src/Assets/Processors/MaterialProcessor.bf @@ -50,7 +50,7 @@ class MaterialProcessor : IAssetProcessor return new AssetProcessorConfig(); } - public static Type ProcessedAssetType => typeof(NewMaterialFile) + public static Type ProcessedAssetType => typeof(NewMaterialFile); public Result Process(ImportedResource importedResource, AssetConfig config, List outProcessedResources) { diff --git a/GlitchyEngine/src/Events/KeyEvent.bf b/GlitchyEngine/src/Events/KeyEvent.bf index ef47c18..c5a5ed6 100644 --- a/GlitchyEngine/src/Events/KeyEvent.bf +++ b/GlitchyEngine/src/Events/KeyEvent.bf @@ -9,7 +9,7 @@ namespace GlitchyEngine.Events [Inline] public Key KeyCode => _keyCode; - public override EventCategory Category => .Input | .Keyboard + public override EventCategory Category => .Input | .Keyboard; protected this(Key keyCode) { @@ -61,7 +61,7 @@ namespace GlitchyEngine.Events [Inline] public char16 Char => _char; - public override EventCategory Category => .Input | .Keyboard + public override EventCategory Category => .Input | .Keyboard; public override EventType EventType => .KeyTyped; public static EventType StaticType => .KeyTyped; diff --git a/GlitchyEngine/src/Renderer/IndexBuffer.bf b/GlitchyEngine/src/Renderer/IndexBuffer.bf index 0539201..e21fe23 100644 --- a/GlitchyEngine/src/Renderer/IndexBuffer.bf +++ b/GlitchyEngine/src/Renderer/IndexBuffer.bf @@ -8,7 +8,7 @@ namespace GlitchyEngine.Renderer /** * Returns the size in bytes of an index of the IndexFormat. */ - public int IndexSize => this == Index16Bit ? 2 : 4 + public int IndexSize => this == Index16Bit ? 2 : 4; } public class IndexBuffer : Buffer diff --git a/GlitchyEngine/src/Window.bf b/GlitchyEngine/src/Window.bf index 8e82e31..53b4532 100644 --- a/GlitchyEngine/src/Window.bf +++ b/GlitchyEngine/src/Window.bf @@ -22,7 +22,7 @@ namespace GlitchyEngine Icon = icon; } - public static readonly WindowDescription Default => .(1280, 720, "Glitchy Engine") + public static readonly WindowDescription Default => .(1280, 720, "Glitchy Engine"); } public class Window