summaryrefslogtreecommitdiff
path: root/src/demoscene-eo.c
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-15 12:36:19 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2019-09-15 12:36:19 +0200
commitb6ab2f2c62e593edb50508e0b911a01fe773122f (patch)
treea049c63cc30a73bb85b1bd65a2838c8446c5c3e1 /src/demoscene-eo.c
parentf19afa163e5b9bc7a0dc540e3ab51f8f1ea715bf (diff)
downloaddemoscene-eo-b6ab2f2c62e593edb50508e0b911a01fe773122f.tar.gz
demoscene-eo-b6ab2f2c62e593edb50508e0b911a01fe773122f.tar.bz2
demoscene-eo-b6ab2f2c62e593edb50508e0b911a01fe773122f.zip
Unplug SDL_Renderer from OpenGL process. Use FrameBufferObject.
Diffstat (limited to 'src/demoscene-eo.c')
-rw-r--r--src/demoscene-eo.c2
1 files changed, 1 insertions, 1 deletions
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