Added a Library to most reference-counted classes

Former-commit-id: 3ed409a71dcd5ce4eec7672ac26f8fff00e3b136
This commit is contained in:
Lynix
2015-01-28 18:06:05 +01:00
parent e18e490c59
commit 53162c1722
34 changed files with 438 additions and 32 deletions

View File

@@ -1274,3 +1274,21 @@ bool NzTexture::CreateTexture(bool proxy)
return true;
}
bool NzTexture::Initialize()
{
if (!NzTextureLibrary::Initialize())
{
NazaraError("Failed to initialise library");
return false;
}
return true;
}
void NzTexture::Uninitialize()
{
NzTextureLibrary::Uninitialize();
}
NzTextureLibrary::LibraryMap NzTexture::s_library;