diff options
Diffstat (limited to 'ui')
-rw-r--r-- | ui/applicationBase.cpp | 1 |
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() |