diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-13 20:03:16 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2018-02-13 20:03:16 +0000 |
commit | 2ff28e1127a82610d9402c90f7a2d1c1c7a19b6f (patch) | |
tree | e8b523f39bc85f6f32d1881b3843d21157d526f2 /examples | |
parent | 49af8b16ae3f9e6579656ed10f815e9c465557d0 (diff) | |
download | YAGE-2ff28e1127a82610d9402c90f7a2d1c1c7a19b6f.tar.gz YAGE-2ff28e1127a82610d9402c90f7a2d1c1c7a19b6f.zip |
[entity] Fixing builds too
Diffstat (limited to 'examples')
-rw-r--r-- | examples/shooter/main.cpp | 2 | ||||
-rw-r--r-- | examples/simplegame/main.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/shooter/main.cpp b/examples/shooter/main.cpp index e38bf53b..5d80c350 100644 --- a/examples/shooter/main.cpp +++ b/examples/shooter/main.cpp @@ -11,6 +11,7 @@ using std::cout; int main(int argc, char **argv) { + yage::init(); yage::Window window; window.create("Shooter example", 800, 600); @@ -166,4 +167,5 @@ int main(int argc, char **argv) window.swapBuffer(); } + yage::quit(); } diff --git a/examples/simplegame/main.cpp b/examples/simplegame/main.cpp index ed6b78f3..bea3bc8d 100644 --- a/examples/simplegame/main.cpp +++ b/examples/simplegame/main.cpp @@ -18,7 +18,7 @@ using namespace yage; int main() { - + yage::init(); Logger logger; srand(time(nullptr)); Window window; @@ -109,4 +109,5 @@ int main() } i = (i + 1) % 30; } + yage::quit(); } |