aboutsummaryrefslogtreecommitdiff
path: root/src/glfw_guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/glfw_guard.h')
-rw-r--r--src/glfw_guard.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/glfw_guard.h b/src/glfw_guard.h
deleted file mode 100644
index 37d3ffb..0000000
--- a/src/glfw_guard.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#pragma once
-
-#include <GL/glew.h>
-#include <GLFW/glfw3.h>
-
-class GlfwGuard {
-private:
- bool _good = false;
-public:
- GlfwGuard() {
- _good = glfwInit();
- }
- ~GlfwGuard() {
- glfwTerminate();
- }
-
- bool isGood() const {
- return _good;
- }
-};