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:
commit
af3184f86e
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue