diff options
author | Stijn Buys <ingar@osirion.org> | 2008-08-23 19:27:10 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-08-23 19:27:10 +0000 |
commit | 184598a43548642b9a4bfe8c2fce58e4a966d0bb (patch) | |
tree | 636e7c977d7e93390327da3be060f9c92adefc01 /src/client/client.cc | |
parent | 37bfbfbd234cce09b67c1d53e1ef7d91a46e53cc (diff) |
instant r_fullscreen switching, bound to alt+enter
Diffstat (limited to 'src/client/client.cc')
-rw-r--r-- | src/client/client.cc | 8 |
1 files changed, 1 insertions, 7 deletions
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 ------------------------------------------------------ |