diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-12 13:59:54 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-12 13:59:54 +0100 |
commit | b3d29409c0ec90a32a91243675a3f55617cf63e1 (patch) | |
tree | 562ed4ac0c9e3651c3a907f145f220ed738518db /include | |
parent | 3ce4865390924d13c525938c5c60c73650564a50 (diff) | |
download | YAGE-b3d29409c0ec90a32a91243675a3f55617cf63e1.tar.gz YAGE-b3d29409c0ec90a32a91243675a3f55617cf63e1.zip |
More tests and improving header adding
Diffstat (limited to 'include')
-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 |