diff options
Diffstat (limited to 'include/YAGE/yage.hpp')
-rw-r--r-- | include/YAGE/yage.hpp | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/include/YAGE/yage.hpp b/include/YAGE/yage.hpp index 1045e12b..45c1c4d7 100644 --- a/include/YAGE/yage.hpp +++ b/include/YAGE/yage.hpp @@ -25,23 +25,16 @@ #include <stdexcept> -namespace yage -{ - -bool init() -{ - if(SDL_Init(SDL_INIT_VIDEO)) - { - return false; - } - return true; -} +namespace yage { -void quit() -{ - SDL_Quit(); +bool init() { + if (SDL_Init(SDL_INIT_VIDEO)) { + return false; + } + return true; } +void quit() { SDL_Quit(); } }; #endif |