mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-12 07:03:34 +00:00
fixing inputs bug, fixing missing depth image destruction in scenes
This commit is contained in:
@@ -7,9 +7,7 @@ namespace mlx
|
||||
{
|
||||
Window::Window(std::size_t w, std::size_t h, const std::string& title, bool hidden) : m_width(w), m_height(h)
|
||||
{
|
||||
static std::uint64_t ids = 0;
|
||||
p_window = SDLManager::Get().CreateWindow(title, w, h, hidden);
|
||||
m_id = ids++;
|
||||
p_window = SDLManager::Get().CreateWindow(title, w, h, hidden, m_id);
|
||||
}
|
||||
|
||||
void Window::Destroy() noexcept
|
||||
|
||||
Reference in New Issue
Block a user