Changeset 8448 in orxonox.OLD for trunk/src/lib/graphics/text_engine/multi_line_text.cc
- Timestamp:
- Jun 15, 2006, 12:48:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine/multi_line_text.cc
r8059 r8448 76 76 glActiveTexture(GL_TEXTURE0); 77 77 78 glColor4f (this->getColor().x, this->getColor().y, this->getColor().z, this->getBlending());78 glColor4fv(&this->getColor()[0]); 79 79 glEnable(GL_BLEND); 80 80 glEnable(GL_TEXTURE_2D); 81 glBlendFunc(GL_SRC_ALPHA, GL_ONE );81 glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); 82 82 glTexEnvi(GL_TEXTURE_ENV, GL_TEXTURE_ENV_COLOR, GL_MODULATE ); 83 83
Note: See TracChangeset
for help on using the changeset viewer.