mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-08 06:40:42 +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)]
|
[return: MarshalAsAttribute(UnmanagedType.I1)]
|
||||||
public static extern bool CopyBuffers(EGLDisplay dpy, EGLSurface surface, EGLNativePixmapType target);
|
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);
|
public static extern IntPtr GetProcAddress(string funcname);
|
||||||
|
|
||||||
// Returns true if Egl drivers exist on the system.
|
// Returns true if Egl drivers exist on the system.
|
||||||
|
|
Loading…
Reference in a new issue