diff options
-rw-r--r-- | src/graphicsmanager.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index b5907d785..fca6cd014 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -161,6 +161,7 @@ int GraphicsManager::detectGraphics() SDL_Window *const window = createWindow(100, 100, 0, SDL_ANYFORMAT | SDL_OPENGL); mainGraphics->setWindow(window, 100, 100); + mainGraphics->createGLContext(); initOpenGL(); logVersion(); |