From 94240c197def425bd45047abb80e9eb694964083 Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Sun, 28 Jan 2024 15:12:03 -0500 Subject: [PATCH] docs: Hint envvars needs to use the hint string, not the macro name --- docs/README-wayland.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/README-wayland.md b/docs/README-wayland.md index 85ac3e5d6..6b4aa6ce2 100644 --- a/docs/README-wayland.md +++ b/docs/README-wayland.md @@ -12,7 +12,7 @@ encounter limitations or behavior that is different from other windowing systems DPI-aware to be automatically scaled by the window manager, which results in them being blurry. SDL can _attempt_ to scale these applications such that they will be output with a 1:1 pixel aspect, however this may be buggy, especially with odd-sized windows and/or scale factors that aren't quarter-increments (125%, 150%, etc...). To enable this, set - the environment variable `SDL_HINT_VIDEO_WAYLAND_SCALE_TO_DISPLAY=1` + the environment variable `SDL_VIDEO_WAYLAND_SCALE_TO_DISPLAY=1` ### Window decorations are missing, or the decorations look strange