summaryrefslogtreecommitdiff
path: root/ui/applicationBase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/applicationBase.cpp')
-rw-r--r--ui/applicationBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/applicationBase.cpp b/ui/applicationBase.cpp
index 5c87359..cad449d 100644
--- a/ui/applicationBase.cpp
+++ b/ui/applicationBase.cpp
@@ -16,6 +16,7 @@ ApplicationBase::ApplicationBase()
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 4);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 5);
+ SDL_GL_SetAttribute(SDL_GL_SHARE_WITH_CURRENT_CONTEXT, 1);
}
ApplicationBase::~ApplicationBase()