Changeset 7428 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Apr 29, 2006, 12:13:38 AM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r7370 r7428 571 571 // LightManager::getInstance()->draw(); 572 572 573 GraphicsEngine::storeMatrices();574 Shader::suspendShader();575 576 Render2D::getInstance()->draw(E2D_LAYER_ALL);577 Shader::restoreShader();578 579 573 if (this->graphicsEffects != NULL) 580 574 { … … 584 578 dynamic_cast<GraphicsEffect*>(*it)->draw(); 585 579 } 580 GraphicsEngine::storeMatrices(); 581 Shader::suspendShader(); 582 583 Render2D::getInstance()->draw(E2D_LAYER_ALL); 584 Shader::restoreShader(); 586 585 } 587 586 -
trunk/src/lib/graphics/text_engine/font.cc
r7221 r7428 29 29 #include "stdlibincl.h" 30 30 #include "compiler.h" 31 32 31 using namespace std; 33 32 -
trunk/src/lib/graphics/text_engine/font.h
r7221 r7428 74 74 inline TTF_Font* getTTF() const { return this->fontTTF; }; 75 75 76 77 76 /** @returns the default Font */ 78 77 inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; }; -
trunk/src/lib/graphics/text_engine/text_engine.cc
r7193 r7428 37 37 38 38 #include "debug.h" 39 40 39 /////////////////// 41 40 /// TEXT-ENGINE /// … … 104 103 /** 105 104 * function to disable TTF_fonts 106 */105 */ 107 106 void TextEngine::disableFonts() 108 107 {
Note: See TracChangeset
for help on using the changeset viewer.