aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-08-12 13:59:54 +0100
committerYann Herklotz <ymherklotz@gmail.com>2017-08-12 13:59:54 +0100
commitb3d29409c0ec90a32a91243675a3f55617cf63e1 (patch)
tree562ed4ac0c9e3651c3a907f145f220ed738518db /include
parent3ce4865390924d13c525938c5c60c73650564a50 (diff)
downloadYAGE-b3d29409c0ec90a32a91243675a3f55617cf63e1.tar.gz
YAGE-b3d29409c0ec90a32a91243675a3f55617cf63e1.zip
More tests and improving header adding
Diffstat (limited to 'include')
-rw-r--r--include/YAGE/yage.hpp9
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