Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10219 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 3:46:51 PM (18 years ago)
Author:
patrick
Message:

texture transparency

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/src/lib/gui/gl/glgui_widget.cc

    r10164 r10219  
    114114    this->setBackgroundColor(Color(.51, .3, .3, 0));
    115115    this->setBackgroundColor(Color(.51, .3, .3, 0), OrxGui::Selected);
    116     this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    117     this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    118     this->_style[2]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
    119     this->_style[3]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
     116    this->_style[0]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE);
     117    this->_style[1]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE);
     118    this->_style[2]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE);
     119    this->_style[3]._background.setBlendFunc( GL_SRC_ALPHA, GL_ONE);
    120120
    121121    this->setForegroundColor(Color(.8, .8, 1, 1), OrxGui::Normal);
Note: See TracChangeset for help on using the changeset viewer.