Revert "Always request OpenGL Core profile"
This reverts commit 34d4103111.
Turns out we need at least GLSL 1.50, for which we'd
have to throw our OpenGL 2.0 compatibility in the water.
Nope, not yet.
This commit is contained in:
parent
1e98413a7e
commit
94911b61a6
1 changed files with 0 additions and 1 deletions
|
|
@ -81,7 +81,6 @@ int rgssThreadFun(void *userdata)
|
||||||
|
|
||||||
/* Setup GL context */
|
/* Setup GL context */
|
||||||
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
|
||||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
|
|
||||||
|
|
||||||
if (threadData->config.debugMode)
|
if (threadData->config.debugMode)
|
||||||
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
|
SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, SDL_GL_CONTEXT_DEBUG_FLAG);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue