diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 23:50:38 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2021-11-24 23:50:38 +0100 |
| commit | b25ad7a6e15a7284e40407377a1624747ffe42e5 (patch) | |
| tree | f53a12fb2120eb7f1b82ccfbda37a2430c5be330 /Backends/CairoBackend/src/EGLDevice.cs | |
| parent | 09026f4328d0e578823062d6506ffdacac457b25 (diff) | |
IBackend instead of IDevice to bind to Interface
Diffstat (limited to 'Backends/CairoBackend/src/EGLDevice.cs')
| -rw-r--r-- | Backends/CairoBackend/src/EGLDevice.cs | 7 |
1 files changed, 4 insertions, 3 deletions
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); - } + }*/ } } |