Skip to content
Snippets Groups Projects
Commit 814b010c authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Snoot

parent 290b72d7
No related branches found
No related tags found
No related merge requests found
...@@ -803,7 +803,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B ...@@ -803,7 +803,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B
LL_PROFILER_GPU_CONTEXT; LL_PROFILER_GPU_CONTEXT;
// Disable vertical sync for swap // Enable vertical sync for swap
toggleVSync(enable_vsync); toggleVSync(enable_vsync);
setIcon(); setIcon();
...@@ -848,10 +848,6 @@ void* LLWindowSDL::createSharedContext() ...@@ -848,10 +848,6 @@ 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_SetSwapInterval(0);
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