Merge branch 'notprotected' into 'master'

GLSL shaders are only defined starting OpenGL 2.0

See merge request voxspatium/voxspatium!1
This commit is contained in:
AstroSnail 2018-06-04 12:13:21 +02:00
commit af3184f86e
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ void Application::initialize()
// Set GL Attributes
SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 1);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);