macos: use Cairo renderer by default

Until the GL renderer is working on macOS OpenGL, we need to default
to the Cairo renderer.
This commit is contained in:
Christian Hergert 2020-12-01 16:24:15 -08:00
parent 27b9a9e7ef
commit 9e1dd15e31

View File

@ -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))