Changeset 7741 in orxonox.OLD for branches/water/src/story_entities
- Timestamp:
- May 20, 2006, 11:56:55 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/water/src/story_entities/game_world.cc
r7740 r7741 443 443 void GameWorld::display () 444 444 { 445 // clear buffer446 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT);447 448 445 // render the reflection texture 449 446 this->renderPassReflection(); … … 477 474 void GameWorld::renderPassReflection() 478 475 { 476 // clear buffer 477 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); 478 479 479 const std::list<BaseObject*>* reflectedWaters; 480 480 MappedWater* mw; … … 518 518 void GameWorld::renderPassAll() 519 519 { 520 // clear buffer 521 glClear( GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); 520 522 GraphicsEngine* engine = GraphicsEngine::getInstance(); 521 523
Note: See TracChangeset
for help on using the changeset viewer.