Added GetCurrentContext()

This commit is contained in:
the_fiddler 2008-01-15 12:46:47 +00:00
parent 15b7864096
commit de7f73cd04

View file

@ -284,6 +284,9 @@ namespace OpenTK.Platform.X11
[DllImport(Library, EntryPoint = "glXDestroyContext")]
public static extern void DestroyContext(IntPtr dpy, IntPtr context);
[DllImport(Library, EntryPoint = "glXGetCurrentContext")]
public static extern IntPtr GetCurrentContext();
[DllImport(Library, EntryPoint = "glXMakeCurrent")]
public static extern bool MakeCurrent(IntPtr display, IntPtr drawable, IntPtr context);