Remove useless clearing of the Z buffer
authorPerttu Ahola <celeron55@gmail.com>
Thu, 22 Mar 2012 20:15:38 +0000 (22:15 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Thu, 22 Mar 2012 20:15:38 +0000 (22:15 +0200)
src/game.cpp

index 5ed479386d199bc75d9fb342e39cda45861093af..3e9f448d3dcef77d116947ec63538d040c0a8f51 100644 (file)
@@ -2663,11 +2663,6 @@ void the_game(
                                        NULL);
                }
 
-               // Clear Z buffer
-               driver->clearZBuffer();
-               // Draw some sky things
-               //draw_horizon(driver, camera.getCameraNode());
-               
                /*
                        End scene
                */