[Mac] OpenGL 3.x/4.x require core profile flag
authorthefiddler <stapostol@gmail.com>
Thu, 9 Jan 2014 22:36:28 +0000 (23:36 +0100)
committerthefiddler <stapostol@gmail.com>
Thu, 9 Jan 2014 22:36:28 +0000 (23:36 +0100)
commita4d2a31386b701436fdd9b2806ed8e9c7dd6d1c4
tree67529b6255e4fc10acfd62242346c90fdbcfb9cd
parent7f64945079866db5c492c405b6f3c88ec022519e
[Mac] OpenGL 3.x/4.x require core profile flag

SDL will fail to construct an OpenGL 3.x/4.x context on Mac OS X,
unless ContextProfileFlags.CORE is specified.

Fixes issue #44

Upstream enhancement request at
https://bugzilla.libsdl.org/show_bug.cgi?id=2342
Source/OpenTK/Platform/SDL2/Sdl2GraphicsContext.cs