changes needed due to library cleaning
[physics.git] / src / main.cpp
index c9e8808..65161a0 100644 (file)
  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <pg/debug.h>
+using namespace pg;
+
+#include <iostream>
+using std::cout;
+using std::endl;
+
 #include <GL/gl.h>
 #include <GL/glu.h>
 #include <SDL/SDL.h>
 
-#include "debug.h"
 #include "handleSignal.h"
 
 #include "game.h"
@@ -106,7 +112,7 @@ void mainInit()
 }
 void mainClean()
 {
-    debug::clean();
+    debug::deinit();
 }
 
 void updatesInit()