Allow not setting icon

This commit is contained in:
Simon Lübeß
2024-09-15 21:46:16 +02:00
parent 849615a199
commit 458b86c29b
@@ -259,6 +259,7 @@ namespace GlitchyEngine
// Determine whether or not the window is currently active // Determine whether or not the window is currently active
_isActive = GetActiveWindow() == _windowHandle; _isActive = GetActiveWindow() == _windowHandle;
if (!desc.Icon.IsEmpty)
SetIcon(desc.Icon); SetIcon(desc.Icon);
} }