diff --git a/src/apprt/gtk/App.zig b/src/apprt/gtk/App.zig index 7575c547e..6d8bdce27 100644 --- a/src/apprt/gtk/App.zig +++ b/src/apprt/gtk/App.zig @@ -81,6 +81,9 @@ pub fn init(core_app: *CoreApp, opts: Options) !App { // Upstream issue: https://gitlab.gnome.org/GNOME/gtk/-/issues/6589 _ = internal_os.setenv("GDK_DEBUG", "opengl,gl-disable-gles"); + // We need to export GSK_RENDERER to opengl because GTK uses ngl by default after 4.14 + _ = internal_os.setenv("GSK_RENDERER", "opengl"); + // Load our configuration var config = try Config.load(core_app.alloc); errdefer config.deinit();