Graphics: Make Background/RenderTechnique independent from Scene
Former-commit-id: d588a3bb74b08d79990a278ad2e399e9797755b4
This commit is contained in:
@@ -36,9 +36,9 @@ m_color(color)
|
||||
m_vertexDepthUniform = shader->GetUniformLocation("VertexDepth");
|
||||
}
|
||||
|
||||
void NzColorBackground::Draw(const NzScene* scene) const
|
||||
void NzColorBackground::Draw(const NzAbstractViewer* viewer) const
|
||||
{
|
||||
NazaraUnused(scene);
|
||||
NazaraUnused(viewer);
|
||||
|
||||
static NzRenderStates states(BuildRenderStates());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user