From 46d7abc46756e1f0e954aef0d5b1614ade9746af Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 7 May 2011 18:52:47 +0000 Subject: [PATCH] Fixed eglGetProcAddress entry point (was eglCopyBuffer). --- Source/OpenTK/Platform/Egl/Egl.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/Egl/Egl.cs b/Source/OpenTK/Platform/Egl/Egl.cs index 65307df7..24a61664 100644 --- a/Source/OpenTK/Platform/Egl/Egl.cs +++ b/Source/OpenTK/Platform/Egl/Egl.cs @@ -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.