From 9052b2b73a95e36f6069a29905430ef293c0d9da Mon Sep 17 00:00:00 2001 From: Sven Almgren Date: Sat, 23 Jan 2021 09:25:18 +0100 Subject: [PATCH] Mark glBlitFramebuffer optional to allow ES2.0 drm devices --- src/Avalonia.OpenGL/GlInterface.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Avalonia.OpenGL/GlInterface.cs b/src/Avalonia.OpenGL/GlInterface.cs index 28b62136da..cae245732f 100644 --- a/src/Avalonia.OpenGL/GlInterface.cs +++ b/src/Avalonia.OpenGL/GlInterface.cs @@ -128,7 +128,7 @@ namespace Avalonia.OpenGL int dstY1, int mask, int filter); - [GlMinVersionEntryPoint("glBlitFramebuffer", 3, 0)] + [GlMinVersionEntryPoint("glBlitFramebuffer", 3, 0), GlOptionalEntryPoint] public GlBlitFramebuffer BlitFramebuffer { get; } public delegate void GlGenRenderbuffers(int count, int[] res);