diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-09-18 20:37:18 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-09-18 20:37:18 +0800 |
commit | ef31204846e974a9de893a3aa1834ceca1f93bc9 (patch) | |
tree | 6a851e87d308cb7be30b59d6291e3fe8fe0a4f3c | |
parent | e564fd2fe88554c701b7562e132e18c102ddb0b7 (diff) | |
parent | 5955a18ebb005d6f4d2057efbca0b46262541346 (diff) |
Merge remote-tracking branch 'mobserveur/2025.07' into 2025.072025.07
-rw-r--r-- | indra/llwindow/llopenglview-objc.mm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm index 8c363190f3..109c1d9b15 100644 --- a/indra/llwindow/llopenglview-objc.mm +++ b/indra/llwindow/llopenglview-objc.mm @@ -287,7 +287,7 @@ attributedStringInfo getSegments(NSAttributedString *str) //NSOpenGLPFASamples, 0, NSOpenGLPFADepthSize, 24, //NSOpenGLPFAAlphaSize, 8, - NSOpenGLPFAColorSize, 24, + NSOpenGLPFAColorSize, 32, NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion4_1Core, 0 }; @@ -368,19 +368,17 @@ attributedStringInfo getSegments(NSAttributedString *str) [glContext makeCurrentContext]; -/* if (vsync) { GLint value = 1; [glContext setValues:&value forParameter:NSOpenGLCPSwapInterval]; } else { - */ // supress this error after move to Xcode 7: // error: null passed to a callee that requires a non-null argument [-Werror,-Wnonnull] // Tried using ObjC 'nonnull' keyword as per SO article but didn't build GLint swapInterval=0; [glContext setValues:&swapInterval forParameter:NSOpenGLCPSwapInterval]; - //} + } GLint opacity = 1; [glContext setValues:&opacity forParameter:NSOpenGLCPSurfaceOpacity]; |