From b6ab2f2c62e593edb50508e0b911a01fe773122f Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 15 Sep 2019 12:36:19 +0200 Subject: Unplug SDL_Renderer from OpenGL process. Use FrameBufferObject. --- src/demoscene-eo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/demoscene-eo.c') diff --git a/src/demoscene-eo.c b/src/demoscene-eo.c index 94db4e5..ed6fe1b 100644 --- a/src/demoscene-eo.c +++ b/src/demoscene-eo.c @@ -367,7 +367,7 @@ int worker_gl() { SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_ALPHA_SIZE, 8); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); - SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); // Initialize OpenGL -- cgit v1.2.3