summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-11 22:07:22 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-11 22:07:22 +0800
commit33cea024db8b63b19e445126f8226e7af7ba61f7 (patch)
treee4a0b650de757469eb900233130248e91e99fc67 /indra/newview
parent3d75e02acac546c16cb7cb393e7964b4bcfd1daf (diff)
parent1b9382cad1bea428bd7a351f41edc153fde77940 (diff)
Merge branch 'main' into DRTVWR-559
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llappviewer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index 9183fb75b3..757280f17e 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -140,7 +140,7 @@
//#endif // LL_LINUX
#if LL_DARWIN
-#include "llwindowmacosx.h"
+#include "llwindowsdl.h"
#endif
// Third party library includes
@@ -289,7 +289,7 @@ extern BOOL gRandomizeFramerate;
extern BOOL gPeriodicSlowFrame;
extern BOOL gDebugGL;
-#if LL_DARWIN && !LL_SDL
+#if LL_DARWIN
extern BOOL gHiDPISupport;
#endif
@@ -569,8 +569,8 @@ static void settings_to_globals()
gShowObjectUpdates = gSavedSettings.getBOOL("ShowObjectUpdates");
LLWorldMapView::setScaleSetting(gSavedSettings.getF32("MapScale"));
-#if LL_DARWIN && !LL_SDL
- LLWindowMacOSX::sUseMultGL = gSavedSettings.getBOOL("RenderAppleUseMultGL");
+#if LL_DARWIN
+ LLWindowSDL::sUseMultGL = gSavedSettings.getBOOL("RenderAppleUseMultGL");
gHiDPISupport = gSavedSettings.getBOOL("RenderHiDPI");
#endif
}
@@ -3332,7 +3332,7 @@ LLSD LLAppViewer::getViewerInfo() const
info["GPU_SHADERS"] = gSavedSettings.getBOOL("RenderDeferred") ? "Enabled" : "Disabled";
info["TEXTURE_MEMORY"] = gGLManager.mVRAM;
-#if LL_DARWIN && !LL_SDL
+#if LL_DARWIN
info["HIDPI"] = gHiDPISupport;
#endif