Fixed eglGetProcAddress entry point (was eglCopyBuffer).

This commit is contained in:
the_fiddler 2011-05-07 18:52:47 +00:00
parent cf4619fe6d
commit 46d7abc467

View file

@ -305,7 +305,7 @@ namespace OpenTK.Platform.Egl
[return: MarshalAsAttribute(UnmanagedType.I1)]
public static extern bool CopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
[DllImportAttribute("libEGL.dll", EntryPoint = "eglCopyBuffers")]
[DllImportAttribute("libEGL.dll", EntryPoint = "eglGetProcAddress")]
public static extern IntPtr GetProcAddress(string funcname);
// Returns true if Egl drivers exist on the system.