diff --git a/source/Window/GLWindow.cpp b/source/Window/GLWindow.cpp index b299440..9b6ef32 100644 --- a/source/Window/GLWindow.cpp +++ b/source/Window/GLWindow.cpp @@ -1,5 +1,5 @@ -#include +#include #include #include @@ -7,7 +7,7 @@ namespace sp { GLWindow::GLWindow() { - m_context = GLContext::create(); + m_context = PlatformApplication::get()->createGLContext(); } GLWindow::~GLWindow()