Added resource managers
Former-commit-id: 9c071230c1e325ec672c9dfe30ee7e498baa1d08
This commit is contained in:
@@ -1283,12 +1283,21 @@ bool NzTexture::Initialize()
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!NzTextureManager::Initialize())
|
||||
{
|
||||
NazaraError("Failed to initialise manager");
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void NzTexture::Uninitialize()
|
||||
{
|
||||
NzTextureManager::Uninitialize();
|
||||
NzTextureLibrary::Uninitialize();
|
||||
}
|
||||
|
||||
NzTextureLibrary::LibraryMap NzTexture::s_library;
|
||||
NzTextureManager::ManagerMap NzTexture::s_managerMap;
|
||||
NzTextureManager::ManagerParams NzTexture::s_managerParameters;
|
||||
|
||||
Reference in New Issue
Block a user