Renderer: Replaced RenderTarget::Get[Height|Width] by RenderTarget::GetSize
Utility: Removed Window::Get[Height|Width] methods
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user