New module: Platform - Split window management from Utility module (#128)
* New module: Platform - Split window management from Utility module Final touch * NDK/SDK: Bring back initialization of Utility
This commit is contained in:
committed by
Jérôme Leclercq
parent
41a1b5d493
commit
5aa072cee3
@@ -25,6 +25,7 @@
|
||||
#include <Nazara/Utility/Utility.hpp>
|
||||
#include <Nazara/Utility/VertexBuffer.hpp>
|
||||
#include <Nazara/Utility/VertexDeclaration.hpp>
|
||||
#include <Nazara/Platform/Platform.hpp>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <set>
|
||||
@@ -579,9 +580,9 @@ namespace Nz
|
||||
}
|
||||
|
||||
// Initialisation des dépendances
|
||||
if (!Utility::Initialize())
|
||||
if (!Platform::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialize Utility module");
|
||||
NazaraError("Failed to initialize Platform module");
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1402,7 +1403,7 @@ namespace Nz
|
||||
NazaraNotice("Uninitialized: Renderer module");
|
||||
|
||||
// Libération des dépendances
|
||||
Utility::Uninitialize();
|
||||
Platform::Uninitialize();
|
||||
}
|
||||
|
||||
void Renderer::EnableInstancing(bool instancing)
|
||||
|
||||
Reference in New Issue
Block a user