summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--application.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/application.cpp b/application.cpp
index 8cd9e9d..97a014f 100644
--- a/application.cpp
+++ b/application.cpp
@@ -1,4 +1,5 @@
#include "application.h"
+#include "gl.h"
#include <SFML/Graphics/RenderWindow.hpp>
@@ -8,6 +9,10 @@ extern const sf::Input* input_backend;
sf::RenderWindow *renderwindow;
Application::Application() {
+ #ifdef WIN32
+ win32_gl_init();
+ #endif
+
please_quit = false;
}