diff options
Diffstat (limited to 'include/YAGE/yage.hpp')
-rw-r--r-- | include/YAGE/yage.hpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/YAGE/yage.hpp b/include/YAGE/yage.hpp index 45c1c4d7..31289d64 100644 --- a/include/YAGE/yage.hpp +++ b/include/YAGE/yage.hpp @@ -27,14 +27,9 @@ namespace yage { -bool init() { - if (SDL_Init(SDL_INIT_VIDEO)) { - return false; - } - return true; -} - +bool init() { return SDL_Init(SDL_INIT_VIDEO); } void quit() { SDL_Quit(); } + }; #endif |