From: Peter Schaefer Date: Mon, 11 Apr 2016 12:46:01 +0000 (+0200) Subject: SDL Profile CORE X-Git-Url: https://git.leopard-lacewing.eu/?a=commitdiff_plain;h=326191078f3e6d2b3b019f2c0bb9dd2bbbacc17c;p=cgue_weave.git SDL Profile CORE --- 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);