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

Init up to OpenGL 4.6 in SDL impl

parent fce9e318
No related branches found
No related tags found
No related merge requests found
......@@ -599,7 +599,7 @@ BOOL LLWindowSDL::createContext(int x, int y, int width, int height, int bits, B
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, context_flags);
U32 major_gl_version = 4;
U32 minor_gl_version = 5;
U32 minor_gl_version = 6;
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, major_gl_version);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, minor_gl_version);
......
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