From 40fad1689720cad98e8b148067dc0cc1fe2f7bd4 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Sun, 15 Jul 2018 20:06:14 +0100 Subject: Change OpenGL context version to 3.2 for better portability Apparently some version OSX or something doesn't support 3.3. --- faqe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/faqe.c b/faqe.c index 9c52ff6..7f4803c 100644 --- a/faqe.c +++ b/faqe.c @@ -67,7 +67,7 @@ int main(int argc, char **argv) eprintf("Failed to initialise SDL: %s", SDL_GetError()); SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 3); - SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 3); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 2); SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); win = SDL_CreateWindow("faqe", -- cgit v1.2.3-54-g00ecf