aboutsummaryrefslogtreecommitdiffstats
path: root/yage/yage.cpp
diff options
context:
space:
mode:
authorTravisBot <>2017-09-21 23:52:57 +0000
committerTravisBot <>2017-09-21 23:52:57 +0000
commit43d8d9b5de8f269643c380d8d6c6c65d9224ad4a (patch)
treeb8a9546cb663081e4587f812fa49a228be9978e5 /yage/yage.cpp
parentad666428488d3c800ca18d877dad803bf18b8168 (diff)
downloadYAGE-43d8d9b5de8f269643c380d8d6c6c65d9224ad4a.tar.gz
YAGE-43d8d9b5de8f269643c380d8d6c6c65d9224ad4a.zip
Rebuilding documentation
Diffstat (limited to 'yage/yage.cpp')
-rw-r--r--yage/yage.cpp36
1 files changed, 0 insertions, 36 deletions
diff --git a/yage/yage.cpp b/yage/yage.cpp
deleted file mode 100644
index a141d9aa..00000000
--- a/yage/yage.cpp
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ----------------------------------------------------------------------------
- * yage.h
- *
- * Copyright (c) 2017 Yann Herklotz Grave <ymherklotz@gmail.com> -- MIT License
- * See file LICENSE for more details
- * ----------------------------------------------------------------------------
- */
-
-#include "yage.h"
-
-#include <GLFW/glfw3.h>
-
-#include <stdexcept>
-
-namespace yage
-{
-
-void glfwErrorCallback(int, const char *description)
-{
- fprintf(stderr, "ERROR: %s\n", description);
-}
-
-void init()
-{
- glfwSetErrorCallback(glfwErrorCallback);
- if (!glfwInit()) {
- throw std::runtime_error("GLFW couldn't be initialised");
- }
-}
-
-void quit()
-{
- glfwTerminate();
-}
-
-} // namespace yage