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

@@ -1444,7 +1444,7 @@ namespace Nz
}
// Envoi des uniformes liées au Renderer
Vector2ui targetSize(s_target->GetWidth(), s_target->GetHeight());
Vector2ui targetSize = s_target->GetSize();
if (s_targetSize != targetSize)
{
int location;