mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:45:36 +00:00
Fixed eglGetProcAddress entry point (was eglCopyBuffer).
This commit is contained in:
parent
cf4619fe6d
commit
46d7abc467
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue