summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2026-08-16 11:11:58 +0200
committermobserveur <mobserveur@gmail.com>2026-08-16 11:11:58 +0200
commit214fa765986b4c1e1de1b917581f8508278abd8e (patch)
tree62342c49b4c9927b72773f443c6e5270bd663ce0 /indra/llwindow/llwindowmacosx.cpp
parentc711e99809d01f0e509f4ea0b4fbb3e5456e7536 (diff)
fix for the view scaling issue on mac
this commit is a fix for the scaling issue happening randomly on macs with a retina display.
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index 42250535f0..5a85887143 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -51,7 +51,7 @@
#include <IOKit/usb/IOUSBLib.h>
extern bool gDebugWindowProc;
-bool gHiDPISupport = true;
+bool gHiDPISupport = false;
bool gHDRDisplaySupport = false;
const S32 BITS_PER_PIXEL = 32;
@@ -761,7 +761,7 @@ bool LLWindowMacOSX::createContext(int x, int y, int width, int height, int bits
kCGLPFAMultisample,
kCGLPFASampleBuffers, static_cast<CGLPixelFormatAttribute>((mFSAASamples > 0 ? 1 : 0)),
kCGLPFASamples, static_cast<CGLPixelFormatAttribute>(mFSAASamples),
- kCGLPFAStencilSize, static_cast<CGLPixelFormatAttribute>(8),
+ //kCGLPFAStencilSize, static_cast<CGLPixelFormatAttribute>(8),
kCGLPFADepthSize, static_cast<CGLPixelFormatAttribute>(24),
kCGLPFAAlphaSize, static_cast<CGLPixelFormatAttribute>(8),
kCGLPFAColorSize, static_cast<CGLPixelFormatAttribute>(24),
@@ -939,9 +939,10 @@ bool LLWindowMacOSX::getVisible()
if(mFullscreen)
{
result = true;
- }if (mWindow)
+ }
+ if (mWindow)
{
- result = true;
+ result = true;
}
return(result);