Use Wgl.Import.GetCurrentContext DllImport directly
authorStefanos A. <stapostol@gmail.com>
Fri, 27 Sep 2013 16:55:38 +0000 (18:55 +0200)
committerStefanos A. <stapostol@gmail.com>
Fri, 27 Sep 2013 16:55:38 +0000 (18:55 +0200)
commit339890294057abd38c550f50468c45a1bdcb396a
tree227871a944eb51771076d08bc877aeacb1300b09
parent0fdef8eb237933a9e8b084b0111133d2f5ea3a6a
Use Wgl.Import.GetCurrentContext DllImport directly

Wgl is implemented using the regular DllImport + delegate approach, in
order to support extensions. The delegates have not been armed at this
point, so we need to use the DllImport directly.

The whole wgl API should be revisited (we are using only a tiny
portion.)
Source/OpenTK/Platform/SDL2/Sdl2Factory.cs