fixed: uninitalized m_Flags in window made the application window not appear

This commit is contained in:
2026-04-16 15:34:09 +02:00
parent 4b89548102
commit 685fb55b43

View File

@@ -8,7 +8,7 @@
#include <span> #include <span>
namespace SakuraVNE { namespace SakuraVNE {
Window::Window(const WindowData &data) : m_Data(data) {} Window::Window(const WindowData &data) : m_Data(data), m_Flags(0) {}
Window::~Window() { Destroy(); } Window::~Window() { Destroy(); }
bool Window::Create(const SDL_WindowFlags flags) { bool Window::Create(const SDL_WindowFlags flags) {