Changeset 6780 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 26, 2006, 6:47:32 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/graphics_engine.cc
r6778 r6780 464 464 void GraphicsEngine::leave2DMode() 465 465 { 466 467 glMatrixMode(GL_MODELVIEW); 468 glPopMatrix(); 469 466 470 glMatrixMode(GL_PROJECTION); 467 glPopMatrix();468 469 glMatrixMode(GL_MODELVIEW);470 471 glPopMatrix(); 471 472 … … 578 579 void GraphicsEngine::draw() const 579 580 { 581 582 LightManager::getInstance()->draw(); 583 580 584 GraphicsEngine::storeMatrices(); 581 582 LightManager::getInstance()->draw();583 584 585 Shader::suspendShader(); 585 586
Note: See TracChangeset
for help on using the changeset viewer.