summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2025-10-02 14:35:34 +0200
committermobserveur <mobserveur@gmail.com>2025-10-02 14:35:34 +0200
commit37bfe659ad0e4eaad4e3697f27947aaea4db8427 (patch)
treee0f1fe2993b9dd58054eaee58477ddd00e7db369 /indra/llwindow
parent8aa2fe7bf74870780aa0f9ae49eea2e89287bced (diff)
Fixes visual glitches after 2025.07 merge
This commit fixes the visual glitches after the 2025.07 merging. It also allows the user to set a very short draw distance (this can be useful for photography)
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llopenglview-objc.mm7
1 files changed, 0 insertions, 7 deletions
diff --git a/indra/llwindow/llopenglview-objc.mm b/indra/llwindow/llopenglview-objc.mm
index 57b1252cf1..268afe843d 100644
--- a/indra/llwindow/llopenglview-objc.mm
+++ b/indra/llwindow/llopenglview-objc.mm
@@ -259,10 +259,7 @@ attributedStringInfo getSegments(NSAttributedString *str)
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAClosestPolicy,
NSOpenGLPFAAccelerated,
- //NSOpenGLPFASampleBuffers, samples,
- //NSOpenGLPFASamples, 0,
NSOpenGLPFADepthSize, 24,
- //NSOpenGLPFAAlphaSize, 8,
NSOpenGLPFAColorSize, 32,
NSOpenGLPFAOpenGLProfile, NSOpenGLProfileVersion4_1Core,
0
@@ -273,8 +270,6 @@ attributedStringInfo getSegments(NSAttributedString *str)
NSOpenGLPFADoubleBuffer,
NSOpenGLPFAClosestPolicy,
NSOpenGLPFAAccelerated,
- //NSOpenGLPFASampleBuffers, samples,
- //NSOpenGLPFASamples, 0,
NSOpenGLPFAColorFloat,
NSOpenGLPFAColorSize, 64,
NSOpenGLPFADepthSize, 24,
@@ -282,8 +277,6 @@ attributedStringInfo getSegments(NSAttributedString *str)
0
};
- //NSOpenGLPixelFormat *pixelFormat = nil;
-
mHDRDisplay = NO;
if(gHDRDisplaySupport)