summaryrefslogtreecommitdiff
path: root/indra/llplugin
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-08-21 17:35:54 +0800
committerErik Kundiman <erik@megapahit.org>2023-08-21 17:35:54 +0800
commit7dd1149e3649057f0962b85bdc467f4e9299b235 (patch)
treec2c59e346126467f9d6f4683f3a97295bbf4bdc3 /indra/llplugin
parentb1cfd19724fd1791f5b383e2d9dac71d35ba2167 (diff)
Darwin not (directly) relying on Carbon & Obj-C
HiDPI support & multi threaded OpenGL haven't been used since we switched to SDL2 on Darwin, and so far there hasn't been any sign that things aren't working any more significantly.
Diffstat (limited to 'indra/llplugin')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index e0b3f6ef56..2d19e3df90 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -36,7 +36,7 @@
#ifndef LL_USESYSTEMLIBS
extern LLControlGroup gSavedSettings;
#endif
-#if LL_DARWIN
+#if LL_DARWIN && !LL_SDL
extern BOOL gHiDPISupport;
#endif
@@ -370,7 +370,7 @@ void LLPluginClassMedia::setSizeInternal(void)
mRequestedMediaHeight = nextPowerOf2(mRequestedMediaHeight);
}
-#if LL_DARWIN
+#if LL_DARWIN && !LL_SDL
if (!gHiDPISupport)
#endif
{