Changeset 7263 for code/branches/png2/src/modules/overlays/hud/HUDBar.cc
- Timestamp:
- Aug 29, 2010, 7:11:36 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/png2/src/modules/overlays/hud/HUDBar.cc
r6677 r7263 76 76 material->getTechnique(0)->getPass(0)->setSceneBlending(Ogre::SBT_TRANSPARENT_ALPHA); 77 77 this->textureUnitState_ = material->getTechnique(0)->getPass(0)->createTextureUnitState(); 78 this->textureUnitState_->setTextureName("bar2. tga");78 this->textureUnitState_->setTextureName("bar2.png"); 79 79 this->textureUnitState_->setNumMipmaps(0); 80 80 // use the default colour
Note: See TracChangeset
for help on using the changeset viewer.