aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-02-03 19:16:07 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-02-03 19:16:07 +0000
commit40db65bf73a90bbc325ba2f3b063593900937449 (patch)
tree4353f00a4aff0195e3ec8473d1dafb84f1e64efb
parent6c4772685909f1f47aa902532d955c77b8e8271d (diff)
downloadYAGE-40db65bf73a90bbc325ba2f3b063593900937449.tar.gz
YAGE-40db65bf73a90bbc325ba2f3b063593900937449.zip
[Bugfix] Fixing build bug.
-rw-r--r--examples/shooter/main.cpp2
-rw-r--r--examples/simplegame/main.cpp3
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();
}