[gtk/wip/chergert/gdk-macos-for-master: 3/3] macos: use Cairo renderer by default




commit 9e1dd15e3191b0b876ee13426f737a4d5ab14e2c
Author: Christian Hergert <chergert redhat com>
Date:   Tue Dec 1 16:24:15 2020 -0800

    macos: use Cairo renderer by default
    
    Until the GL renderer is working on macOS OpenGL, we need to default
    to the Cairo renderer.

 gsk/gskrenderer.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/gsk/gskrenderer.c b/gsk/gskrenderer.c
index dbbfd28f35..716eef1c22 100644
--- a/gsk/gskrenderer.c
+++ b/gsk/gskrenderer.c
@@ -567,8 +567,9 @@ get_renderer_for_backend (GdkSurface *surface)
     return GSK_TYPE_BROADWAY_RENDERER;
 #endif
 #ifdef GDK_WINDOWING_MACOS
+  /* Use Cairo until GL renderer is working */
   if (GDK_IS_MACOS_SURFACE (surface))
-    return GSK_TYPE_GL_RENDERER;
+    return GSK_TYPE_CAIRO_RENDERER;
 #endif
 #ifdef GDK_WINDOWING_WIN32
   if (GDK_IS_WIN32_SURFACE (surface))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]