Added missing override

This commit is contained in:
Simon Lübeß
2026-08-16 22:26:42 +02:00
parent 7b82e738eb
commit 6a60fae5d5
2 changed files with 2 additions and 2 deletions
@@ -45,7 +45,7 @@ namespace GlitchyEngine.Renderer
internal DxDSSDesc nativeDescription; internal DxDSSDesc nativeDescription;
internal ID3D11DepthStencilState* nativeDepthStencilState ~ _?.Release(); internal ID3D11DepthStencilState* nativeDepthStencilState ~ _?.Release();
public this(GEDSSDesc description) public override this(GEDSSDesc description)
{ {
Debug.Profiler.ProfileResourceFunction!(); Debug.Profiler.ProfileResourceFunction!();
@@ -251,7 +251,7 @@ namespace GlitchyEngine
[CLink] [CLink]
static extern IntBool IsWindowUnicode(HWND whnd); static extern IntBool IsWindowUnicode(HWND whnd);
public Result<void> SetIcon(StringView filePath) public override Result<void> SetIcon(StringView filePath)
{ {
HICON hIcon = LoadImageW(0, filePath.ToScopedNativeWChar!(), .Icon, 0, 0, .LoadFromFile); HICON hIcon = LoadImageW(0, filePath.ToScopedNativeWChar!(), .Icon, 0, 0, .LoadFromFile);
if (hIcon == 0) if (hIcon == 0)