Skip to content
Snippets Groups Projects
Commit 9dcfab79 authored by Rye Mutt's avatar Rye Mutt :bread: Committed by Rye Mutt
Browse files

Fix multi threaded decode init on linux

parent fc66e815
No related branches found
No related tags found
No related merge requests found
...@@ -848,6 +848,8 @@ void* LLWindowSDL::createSharedContext() ...@@ -848,6 +848,8 @@ void* LLWindowSDL::createSharedContext()
SDL_GLContext shared_context = SDL_GL_CreateContext(mWindow); SDL_GLContext shared_context = SDL_GL_CreateContext(mWindow);
if (shared_context) if (shared_context)
{ {
SDL_GL_MakeCurrent(mWindow, shared_context);
SDL_GL_MakeCurrent(mWindow, mGLContext);
LL_INFOS() << "Creating shared OpenGL context successful!" << LL_ENDL; LL_INFOS() << "Creating shared OpenGL context successful!" << LL_ENDL;
return (void*)shared_context; return (void*)shared_context;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment