From 37bfe659ad0e4eaad4e3697f27947aaea4db8427 Mon Sep 17 00:00:00 2001 From: mobserveur Date: Thu, 2 Oct 2025 14:35:34 +0200 Subject: 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) --- indra/llwindow/llopenglview-objc.mm | 7 ------- 1 file changed, 7 deletions(-) (limited to 'indra/llwindow') 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) -- cgit v1.2.3