From b25ad7a6e15a7284e40407377a1624747ffe42e5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Wed, 24 Nov 2021 23:50:38 +0100 Subject: IBackend instead of IDevice to bind to Interface --- Backends/CairoBackend/src/EGLDevice.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Backends/CairoBackend/src/EGLDevice.cs') diff --git a/Backends/CairoBackend/src/EGLDevice.cs b/Backends/CairoBackend/src/EGLDevice.cs index 83629374..d9296b74 100644 --- a/Backends/CairoBackend/src/EGLDevice.cs +++ b/Backends/CairoBackend/src/EGLDevice.cs @@ -34,15 +34,16 @@ namespace Crow.CairoBackend { public class EGLDevice : GLDevice { - public EGLDevice (IntPtr dpy, IntPtr gl_ctx, bool threadAwayre = false) : base (NativeMethods.cairo_egl_device_create (dpy, gl_ctx), true) + public EGLDevice (IntPtr dpy, IntPtr gl_ctx, bool threadAwayre = false) + : base (NativeMethods.cairo_egl_device_create (dpy, gl_ctx), true) { SetThreadAware(threadAwayre); } - public override ISurface CreateSurface(int width, int height) + /*public override ISurface CreateSurface(int width, int height) => new ImageSurface (Format.ARGB32, width, height); public override ISurface CreateSurface (IntPtr nativeWindoPointer, int width, int height) { return new GLSurface (this, Glfw.Glfw3.GetEGLSurface (nativeWindoPointer), width, height); - } + }*/ } } -- cgit v1.3.1-4-g156e