added small change to IWindow to be able to get the window size from the interface pointer, and not needing to use glfw for it
This commit is contained in:
@@ -22,6 +22,11 @@ void TSE::IWindow::BaseUpdate() const
|
||||
Time::Update();
|
||||
}
|
||||
|
||||
TSE::Vector2 TSE::IWindow::GetSize() const
|
||||
{
|
||||
return Vector2({width, height});
|
||||
}
|
||||
|
||||
TSE::IWindow::~IWindow()
|
||||
{
|
||||
AudioEngine::Destroy();
|
||||
|
||||
Reference in New Issue
Block a user