diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-29 11:59:09 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2012-01-29 11:59:09 +0100 |
commit | eb53653dfcbbe325cee93368dd6585d68e41f43a (patch) | |
tree | 7b5647a5d1cc1f6849b1bf8314c64d9b81f529ef /application.cpp | |
parent | 578ad89703ef74539e74edc86f865064763882fb (diff) |
Calling win32_gl_init() from Application on windows.
Diffstat (limited to 'application.cpp')
-rw-r--r-- | application.cpp | 5 |
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; } |