From 184598a43548642b9a4bfe8c2fce58e4a966d0bb Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 23 Aug 2008 19:27:10 +0000 Subject: instant r_fullscreen switching, bound to alt+enter --- src/client/client.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/client/client.cc') diff --git a/src/client/client.cc b/src/client/client.cc index f67cce0..7ba61d6 100644 --- a/src/client/client.cc +++ b/src/client/client.cc @@ -46,13 +46,7 @@ void func_snd_restart(std::string const &args) void func_r_restart(std::string const &args) { - video::shutdown(); - - if (!video::init()) { - app.quit(1); - } - - input::reset(); + video::restart(); } //--- public ------------------------------------------------------ -- cgit v1.2.3