- added quick&dirty peeking back (not exactly perfect, but better then no peeking)
[supertux.git] / src / mainloop.cpp
index 314de15..e5db024 100644 (file)
@@ -228,10 +228,8 @@ MainLoop::handle_screen_switch()
 }
 
 void
-MainLoop::run()
+MainLoop::run(DrawingContext &context)
 {
-  DrawingContext context;
-
   Uint32 last_ticks = 0;
   Uint32 elapsed_ticks = 0;