Skip to content

Commit 828bc66

Browse files
authored
Merge pull request #218 from cortex-command-community/gl-core-profile
Set GL context profile to core
2 parents 315cd02 + fbf7864 commit 828bc66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Managers/WindowMan.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ void WindowMan::Initialize() {
124124
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
125125
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
126126
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
127-
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY);
127+
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
128128
CreatePrimaryWindow();
129129
InitializeOpenGL();
130130

0 commit comments

Comments
 (0)