Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize

Utility: Removed Window::Get[Height|Width] methods
This commit is contained in:
Lynix
2017-10-28 23:26:22 +02:00
parent bf8ebbd046
commit d688cecbde
20 changed files with 44 additions and 102 deletions

View File

@@ -162,11 +162,6 @@ namespace Nz
NazaraError("No context");
}
unsigned int RenderWindow::GetHeight() const
{
return Window::GetHeight();
}
RenderTargetParameters RenderWindow::GetParameters() const
{
if (m_context)
@@ -181,9 +176,9 @@ namespace Nz
}
}
unsigned int RenderWindow::GetWidth() const
Vector2ui RenderWindow::GetSize() const
{
return Window::GetWidth();
return Window::GetSize();
}
bool RenderWindow::IsRenderable() const