Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5856 in orxonox.OLD for trunk/src/lib/graphics/text_engine


Ignore:
Timestamp:
Dec 1, 2005, 6:32:59 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: TextureToGL is now more modular

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine/font.cc

    r5768 r5856  
    182182  }
    183183  if (this->prepareSurface(surface))
    184     this->loadTexToGL( );
     184  {
     185    this->setTexture(Texture::loadTexToGL(this->getStoredImage()));
     186  }
    185187
    186188  // initializing the Glyphs.
     
    491493
    492494  if (this->setSurface(tmpSurf))
    493     loadTexToGL();
     495    (this->setTexture(Texture::loadTexToGL(tmpSurf)));
    494496}
    495497
Note: See TracChangeset for help on using the changeset viewer.