fixing inputs bug, fixing missing depth image destruction in scenes

This commit is contained in:
2024-10-17 18:35:33 +02:00
parent 160364bda2
commit d0a74e79c5
15 changed files with 104 additions and 108 deletions

View File

@@ -17,7 +17,9 @@ namespace mlx
};
public:
Inputs();
Inputs() = default;
void FetchInputs();
inline void RegisterWindow(std::shared_ptr<Window> window) { m_windows[window->GetID()] = window; }

View File

@@ -30,7 +30,7 @@ namespace mlx
private:
Handle p_window = nullptr;
std::uint32_t m_id = -1;
std::int32_t m_id;
int m_width = 0;
int m_height = 0;
};