diff options
author | Erik Kundiman <erik@megapahit.org> | 2023-09-11 21:30:40 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2023-09-11 21:30:40 +0800 |
commit | 1b9382cad1bea428bd7a351f41edc153fde77940 (patch) | |
tree | c1911b4de8abe1ed890ffcad3da755e8afd39066 /indra/llplugin | |
parent | 0797257992ee7f88456d3083ebf214485b75c139 (diff) |
Revive HiDPI support & multi threaded OpenGL
See 7dd1149e3649057f0962b85bdc467f4e9299b235.
The attributes only needed to be moved from LLWindowMacOS X to LLWindowSDL.
Diffstat (limited to 'indra/llplugin')
-rw-r--r-- | indra/llplugin/llpluginclassmedia.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp index 2d19e3df90..e0b3f6ef56 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 && !LL_SDL +#if LL_DARWIN extern BOOL gHiDPISupport; #endif @@ -370,7 +370,7 @@ void LLPluginClassMedia::setSizeInternal(void) mRequestedMediaHeight = nextPowerOf2(mRequestedMediaHeight); } -#if LL_DARWIN && !LL_SDL +#if LL_DARWIN if (!gHiDPISupport) #endif { |