Graphics: Make Background/RenderTechnique independent from Scene

Former-commit-id: d588a3bb74b08d79990a278ad2e399e9797755b4
This commit is contained in:
Lynix
2015-06-09 00:26:13 +02:00
parent e97cc666a1
commit 6f2f8d6390
32 changed files with 124 additions and 86 deletions

View File

@@ -45,9 +45,9 @@ NzTextureBackground()
m_texture = texture;
}
void NzTextureBackground::Draw(const NzScene* scene) const
void NzTextureBackground::Draw(const NzAbstractViewer* viewer) const
{
NazaraUnused(scene);
NazaraUnused(viewer);
static NzRenderStates states(BuildRenderStates());