Updates the terrapage to try and make it thread "safer" when used with the OSG.

This commit is contained in:
Robert Osfield
2002-12-21 19:41:27 +00:00
parent e9287afd5e
commit 6ee563ad55
4 changed files with 265 additions and 256 deletions

View File

@@ -173,8 +173,7 @@ Texture2D* txp::GetLocalTexture(trpgrImageHelper& image_helper, trpgLocalMateria
image->setMipmapData(mipmaps);
}
// delete [] data;
// image->unref();
// AAAARRRGH! TOOK ME 2 DAYS TO FIGURE IT OUT
// EVERY IMAGE HAS TO HAVE UNIQUE NAME FOR OPTIMIZER NOT TO OPTIMIZE IT OFF
//