Exemplo n.º 1
0
TextureManager::~TextureManager() {
// call this ONLY when linking with FreeImage as a static library
#ifdef FREEIMAGE_LIB
  FreeImage_DeInitialise();
#endif

  UnloadAllTextures();
  m_inst = 0;
}
void ModelContainer::UnloadAll(void)
{
	int i;

	for (i=0; i < NUMBER_OF_MODELS; i++)
		UnloadMD2Model(i);

	UnloadAllTextures();

	for (i=0; i < NUMBER_OF_XMODELS; i++)
		UnloadXModel(i);

}
Exemplo n.º 3
0
TextureManager::~TextureManager()
{
	UnloadAllTextures();
}