mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 14:21:07 +00:00
Fixed eglGetProcAddress entry point (was eglCopyBuffer).
This commit is contained in:
parent
da5371e92b
commit
544de30874
|
@ -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