Made Background::Draw receive const scene pointer

Former-commit-id: 2b84f8ea924714d81046f3dd29990939586e7622
This commit is contained in:
Lynix
2013-04-03 01:47:43 +02:00
parent 2c7744af41
commit 98e70f21a1
6 changed files with 12 additions and 6 deletions

View File

@@ -11,8 +11,10 @@ m_color(color)
{
}
void NzColorBackground::Draw() const
void NzColorBackground::Draw(const NzScene* scene) const
{
NazaraUnused(scene);
NzRenderer::SetClearColor(m_color);
NzRenderer::Clear(nzRendererClear_Color);
}