summaryrefslogtreecommitdiff
path: root/indra/llplugin
diff options
context:
space:
mode:
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
{