macos: enable GL renderer by default

Now that the attribute locations are fixed for the GL renderer, we can
enable it by default on macOS.

Fixes #3420
This commit is contained in:
Christian Hergert 2020-12-04 13:41:31 -08:00
parent 6883c2214b
commit a47c0065fb

View File

@ -567,9 +567,8 @@ 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_CAIRO_RENDERER;
return GSK_TYPE_GL_RENDERER;
#endif
#ifdef GDK_WINDOWING_WIN32
if (GDK_IS_WIN32_SURFACE (surface))