(Font) Added default atlas

Former-commit-id: 876f42110d4053b09abf86c6158b3ba79fdea201
This commit is contained in:
Lynix
2015-01-17 22:42:33 +01:00
parent 77db6f5dd3
commit 7fee649b49
3 changed files with 21 additions and 1 deletions

View File

@@ -9,6 +9,7 @@
#include <Nazara/Graphics/Config.hpp>
#include <Nazara/Graphics/DeferredRenderTechnique.hpp>
#include <Nazara/Graphics/ForwardRenderTechnique.hpp>
#include <Nazara/Graphics/GuillotineTextureAtlas.hpp>
#include <Nazara/Graphics/Material.hpp>
#include <Nazara/Graphics/RenderTechniques.hpp>
#include <Nazara/Graphics/SkinningManager.hpp>
@@ -66,6 +67,8 @@ bool NzGraphics::Initialize()
NzRenderTechniques::Register(NzRenderTechniques::ToString(nzRenderTechniqueType_DeferredShading), 20, []() -> NzAbstractRenderTechnique* { return new NzDeferredRenderTechnique; });
}
NzFont::SetDefaultAtlas(new NzGuillotineTextureAtlas);
onExit.Reset();
NazaraNotice("Initialized: Graphics module");