Skip to content

Commit

Permalink
fix: fractional scaling blurriness with gl (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr authored Apr 4, 2024
1 parent e9c7464 commit 594dc60
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Application.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 594dc60

Please sign in to comment.