Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5860 in orxonox.OLD for trunk/src/lib/graphics/importer/texture.cc


Ignore:
Timestamp:
Dec 1, 2005, 8:38:37 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: some initial work at MultiFrameTexture.cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/importer/texture.cc

    r5859 r5860  
    116116bool Texture::rebuild()
    117117{
    118   if (this->texture != 0 && glIsTexture(this->texture))
     118  if (this->texture != 0)
    119119    {
    120       glDeleteTextures(1,&this->texture);
     120      if (glIsTexture(this->texture))
     121        glDeleteTextures(1,&this->texture);
    121122      this->setTexture(0);
    122123    }
Note: See TracChangeset for help on using the changeset viewer.