From 326191078f3e6d2b3b019f2c0bb9dd2bbbacc17c Mon Sep 17 00:00:00 2001 From: Peter Schaefer Date: Mon, 11 Apr 2016 14:46:01 +0200 Subject: [PATCH] SDL Profile CORE --- Weave/Graphix/Graphix.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Weave/Graphix/Graphix.cpp b/Weave/Graphix/Graphix.cpp index d0b064e..3a98fbb 100644 --- a/Weave/Graphix/Graphix.cpp +++ b/Weave/Graphix/Graphix.cpp @@ -78,6 +78,7 @@ void Graphix::init() #endif SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1); + SDL_GL_SetAttribute(SDL_GL_CONTEXT_PROFILE_MASK, SDL_GL_CONTEXT_PROFILE_CORE); SDL_GL_SetAttribute(SDL_GL_ACCUM_RED_SIZE, 16); SDL_GL_SetAttribute(SDL_GL_ACCUM_GREEN_SIZE, 16); -- 2.47.3