From 214fa765986b4c1e1de1b917581f8508278abd8e Mon Sep 17 00:00:00 2001 From: mobserveur Date: Sun, 16 Aug 2026 11:11:58 +0200 Subject: 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. --- indra/llwindow/llwindowmacosx.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'indra/llwindow/llwindowmacosx.cpp') 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 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((mFSAASamples > 0 ? 1 : 0)), kCGLPFASamples, static_cast(mFSAASamples), - kCGLPFAStencilSize, static_cast(8), + //kCGLPFAStencilSize, static_cast(8), kCGLPFADepthSize, static_cast(24), kCGLPFAAlphaSize, static_cast(8), kCGLPFAColorSize, static_cast(24), @@ -939,9 +939,10 @@ bool LLWindowMacOSX::getVisible() if(mFullscreen) { result = true; - }if (mWindow) + } + if (mWindow) { - result = true; + result = true; } return(result); -- cgit v1.3