Renamed Background to AbstractBackground

Former-commit-id: c99ed2e48c4d82fb1100f412a85468c698142815
This commit is contained in:
Lynix
2013-06-27 12:53:04 +02:00
parent 308c2cfd78
commit 1a6e55881b
9 changed files with 27 additions and 23 deletions

View File

@@ -3,7 +3,7 @@
// For conditions of distribution and use, see copyright notice in Config.hpp
#include <Nazara/Graphics/ForwardRenderTechnique.hpp>
#include <Nazara/Graphics/Background.hpp>
#include <Nazara/Graphics/AbstractBackground.hpp>
#include <Nazara/Graphics/Camera.hpp>
#include <Nazara/Graphics/Drawable.hpp>
#include <Nazara/Graphics/Light.hpp>
@@ -38,7 +38,7 @@ void NzForwardRenderTechnique::Clear(const NzScene* scene)
NzRenderer::Enable(nzRendererParameter_DepthWrite, true);
NzRenderer::Clear(nzRendererClear_Depth);
NzBackground* background = scene->GetBackground();
NzAbstractBackground* background = scene->GetBackground();
if (background)
background->Draw(scene);
}