Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6677 for code


Ignore:
Timestamp:
Apr 6, 2010, 3:04:26 PM (15 years ago)
Author:
scheusso
Message:

this removes problems with the HUDSpeedBar on some machines (by disabling mipmaps)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/overlays/hud/HUDBar.cc

    r6417 r6677  
    7777        this->textureUnitState_ = material->getTechnique(0)->getPass(0)->createTextureUnitState();
    7878        this->textureUnitState_->setTextureName("bar2.tga");
     79        this->textureUnitState_->setNumMipmaps(0);
    7980        // use the default colour
    8081        this->textureUnitState_->setColourOperationEx(Ogre::LBX_MODULATE, Ogre::LBS_MANUAL, Ogre::LBS_CURRENT, ColourValue(0.2f, 0.7f, 0.2f));
Note: See TracChangeset for help on using the changeset viewer.