diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-15 12:36:19 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2019-09-15 12:36:19 +0200 |
commit | b6ab2f2c62e593edb50508e0b911a01fe773122f (patch) | |
tree | a049c63cc30a73bb85b1bd65a2838c8446c5c3e1 /src/demoscene-eo.c | |
parent | f19afa163e5b9bc7a0dc540e3ab51f8f1ea715bf (diff) | |
download | demoscene-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.c | 2 |
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 |