We can't have entrypoints that don't exist on all platforms

- we could have wrapped it with a #if, but we aren't using it
This commit is contained in:
Matthew Leibowitz 2018-10-12 19:03:24 +02:00
Родитель 6ca35342ae
Коммит cd8768cad9
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 00A672181E6BF432
1 изменённых файлов: 4 добавлений и 10 удалений

Просмотреть файл

@ -73,10 +73,10 @@ namespace SkiaSharp.Views.GlesInterop
[DllImport(libGLESv2)]
public static extern void glGenRenderbuffers(int n, [In, Out] uint[] buffers);
[DllImport(libGLESv2)]
public static extern void glGenFramebuffers(int n, [In, Out] uint[] buffers);
[DllImport(libGLESv2)]
public static extern void glGenRenderbuffers(int n, ref uint buffer);
[DllImport(libGLESv2)]
public static extern void glGenFramebuffers(int n, [In, Out] uint[] buffers);
[DllImport(libGLESv2)]
public static extern void glGenFramebuffers(int n, ref uint buffer);
[DllImport(libGLESv2)]
public static extern void glGetIntegerv(uint pname, out int data);
@ -91,20 +91,14 @@ namespace SkiaSharp.Views.GlesInterop
[DllImport(libGLESv2)]
public static extern void glClear(uint mask);
[DllImport(libGLESv2)]
public static extern void glRenderbufferStorageMultisampleANGLE(uint target, int samples, uint internalformat, int width, int height);
[DllImport(libGLESv2)]
public static extern void glRenderbufferStorage(uint target, uint internalformat, int width, int height);
[DllImport(libGLESv2)]
public static extern void glBlitFramebufferANGLE(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, uint mask, uint filter);
[DllImport(libGLESv2)]
public static extern void glBindFramebuffer(uint target, uint framebuffer);
[DllImport(libGLESv2)]
public static extern void glDeleteFramebuffers(int n, [In, Out] uint[] framebuffers);
[DllImport(libGLESv2)]
public static extern void glDeleteRenderbuffers(int n, [In, Out] uint[] renderbuffers);
[DllImport(libGLESv2)]
public static extern void glDeleteFramebuffers(int n, ref uint framebuffer);
[DllImport(libGLESv2)]
public static extern void glDeleteRenderbuffers(int n, [In, Out] uint[] renderbuffers);
[DllImport(libGLESv2)]
public static extern void glDeleteRenderbuffers(int n, ref uint renderbuffer);
[DllImport(libGLESv2)]
public static extern void glFramebufferRenderbuffer(uint target, uint attachment, uint renderbuffertarget, uint renderbuffer);