[Dummy] Improved thread-safety; added entry-point loader
authorthefiddler <stapostol@gmail.com>
Sat, 28 Dec 2013 00:09:59 +0000 (01:09 +0100)
committerthefiddler <stapostol@gmail.com>
Sat, 28 Dec 2013 00:09:59 +0000 (01:09 +0100)
commit5cebaccfca3c7f109610d6af0b335a97ac5cbe7e
treed164323c681df7cb646eef67de6c9cab19a245f3
parent8bcbb06f8eb9f89bbe35183646a102df6711339b
[Dummy] Improved thread-safety; added entry-point loader

DummyGLContext will now attempt to load OpenGL and OpenGL ES entry
points when a suitable OpenGL context is current on the calling thread.
This allows OpenTK to be used on contexts created through third-party
toolkits.
Source/OpenTK/Platform/Dummy/DummyGLContext.cs