[X11] Throw exception if GLX is not supported
authorthefiddler <stapostol@gmail.com>
Sun, 15 Jun 2014 12:30:23 +0000 (14:30 +0200)
committerthefiddler <stapostol@gmail.com>
Sun, 15 Jun 2014 12:30:23 +0000 (14:30 +0200)
commit9075129df06973a64440a86c5ed0f02a3b7856b5
tree70b43a939e1a9da6a05313aa609bbcfce7dcac28
parentc657b3d11ed470e49b54616596eed6a5acb8127d
[X11] Throw exception if GLX is not supported

You cannot create an X11/OpenGL context without the GLX extension.
OpenTK will now throw a `NotSupportedException` when this condition is
encountered.

In some cases, it may be possible to enable the EGL backend by passing
`GraphicsContextFlags.Embedded` to the `GraphicsContext` constructor.
Source/OpenTK/Platform/X11/X11GLContext.cs