From 594dc605484a4f0266b3d2618ef0f6e9a6d69459 Mon Sep 17 00:00:00 2001 From: Evan Paterakis Date: Thu, 4 Apr 2024 14:04:06 +0300 Subject: [PATCH] fix: fractional scaling blurriness with gl (#886) --- src/Application.vala | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Application.vala b/src/Application.vala index 32288c8e2..8804e5398 100644 --- a/src/Application.vala +++ b/src/Application.vala @@ -201,7 +201,11 @@ namespace Tuba { if (GLib.Environment.get_variable ("SECRET_BACKEND") == "file") GLib.Environment.set_variable ("SECRET_FILE_TEST_PASSWORD", @"$(GLib.Environment.get_user_name ())$(Build.DOMAIN)", false); #endif + GLib.Environment.set_variable ("GSK_RENDERER", "gl", false); + if (GLib.Environment.get_variable ("GSK_RENDERER") == "gl") { + GLib.Environment.set_variable ("GDK_DEBUG", "gl-no-fractional", false); + } app = new Application (); return app.run (args);