Always request OpenGL Core profile

This commit is contained in:
Jonas Kulla 2013-10-08 06:29:05 +02:00
parent 6fef49f42a
commit 34d4103111
1 changed files with 1 additions and 0 deletions

View File

@ -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);