diff --git a/src/main.cpp b/src/main.cpp index b553e0e..ca03fb4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -58,6 +58,7 @@ int rgssThreadFun(void *userdata) /* Setup GL context */ SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); if (threadData->config.debugMode) SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);