Changeset 3777 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics/font/text_engine.cc
- Timestamp:
- Apr 11, 2005, 4:43:13 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/text_engine.cc
r3776 r3777 56 56 this->text = NULL; 57 57 this->texture = 0; 58 this->blending = 1.0f; 58 59 this->setType(type); 59 60 this->setPosition(0, 0); … … 181 182 pos.z = 0; 182 183 } 184 185 // setting the Blending effects 186 glColor4f(1.0f,1.0f,1.0f, this->blending); 187 glBlendFunc(GL_SRC_ALPHA, GL_ONE); 183 188 184 189 // drawing this Text.
Note: See TracChangeset
for help on using the changeset viewer.