summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRye <rye@alchemyviewer.org>2025-10-28 08:14:17 -0400
committerRye <rye@alchemyviewer.org>2025-10-31 07:46:07 -0400
commit9661b4ec49ebcb29faf55da71480dffbe17e7295 (patch)
treee3ef6a04d8d17d1259e43c6c7c1ee49507f131ca
parent5a875a61881b4109a0d33caa6039a84372b33a95 (diff)
Fix cef scaling on linux hidpi displays
Signed-off-by: Rye <rye@alchemyviewer.org>
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp4
-rw-r--r--indra/newview/app_settings/settings.xml2
2 files changed, 3 insertions, 3 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index 68c8854a12..803574f9fa 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -34,7 +34,7 @@
#include "llcontrol.h"
extern LLControlGroup gSavedSettings;
-#if LL_DARWIN
+#if LL_DARWIN || LL_LINUX
extern bool gHiDPISupport;
#endif
@@ -372,7 +372,7 @@ void LLPluginClassMedia::setSizeInternal(void)
mRequestedMediaHeight = nextPowerOf2(mRequestedMediaHeight);
}
-#if LL_DARWIN
+#if LL_DARWIN || LL_LINUX
if (!gHiDPISupport)
#endif
{
diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml
index 05e3e7aaa2..875f4442a3 100644
--- a/indra/newview/app_settings/settings.xml
+++ b/indra/newview/app_settings/settings.xml
@@ -7476,7 +7476,7 @@
<key>RenderHiDPI</key>
<map>
<key>Comment</key>
- <string>Enable support for HiDPI displays, like Retina (macOS ONLY, requires restart)</string>
+ <string>Enable support for HiDPI displays, like Retina (macOS and Linux ONLY, requires restart)</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>