Skip to content

Commit 84aa93d

Browse files
committed
set gl compat profile
1 parent ca95814 commit 84aa93d

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
@@ -102,7 +102,7 @@ void WindowMan::Initialize() {
102102
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
103103
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3);
104104
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3);
105-
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
105+
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_COMPATIBILITY);
106106
CreatePrimaryWindow();
107107
InitializeOpenGL();
108108
CreateBackBufferTexture();

0 commit comments

Comments
 (0)