Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 24, 2005, 1:49:15 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: textures are rebuild on resize of the winodow (on winodws)

File:
1 edited

Legend:

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

    r5754 r5755  
    106106}
    107107
    108 bool Texture::reload()
     108bool Texture::rebuild()
    109109{
    110110  if (this->texture != 0)
     
    115115
    116116  if (this->image != NULL)
    117     this->texture = this->loadTexToGL(this->image);
     117    {
     118      PRINTF(4)("Reloading Texture %s\n", this->getName());
     119      this->texture = this->loadTexToGL(this->image);
     120    }
    118121 
    119122}
Note: See TracChangeset for help on using the changeset viewer.