mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Added missing override
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user