File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -655,7 +655,8 @@ void LLFeatureManager::applyBaseMasks()
655
655
if (gGLManager .mIsIntel )
656
656
{
657
657
maskFeatures (" Intel" );
658
- if (gGLManager .mGLVersion < 4 .59f )
658
+ // check against 3.33 to avoid applying this fallback twice
659
+ if (gGLManager .mGLVersion < 4 .59f && gGLManager .mGLVersion > 3 .33f )
659
660
{
660
661
// if we don't have OpenGL 4.6 on intel, set it to OpenGL 3.3
661
662
// we also want to trigger the GL3 fallbacks on these chipsets
@@ -665,10 +666,12 @@ void LLFeatureManager::applyBaseMasks()
665
666
// https://docs.blender.org/manual/en/latest/troubleshooting/gpu/windows/intel.html#legacy-intel-hd-4000-5000
666
667
// https://www.intel.com/content/www/us/en/support/articles/000005524/graphics.html
667
668
// this will disable things like reflection probes, HDR, FXAA and SMAA
669
+ LL_INFOS (" RenderInit" ) << " Applying Intel integrated pre-Haswell fallback. Downgrading feature usage to OpenGL 3.3" << LL_ENDL;
668
670
gGLManager .mGLVersion = llmin (gGLManager .mGLVersion , 3 .33f );
669
- // and select GLSL version for OpenGL 3.3
671
+ gGLManager .mGLVersionString += " 3.3 fallback" ; // for ViewerStats reporting
672
+ // and select GLSL version for OpenGL 3.2
670
673
gGLManager .mGLSLVersionMajor = 3 ;
671
- gGLManager .mGLSLVersionMinor = 30 ;
674
+ gGLManager .mGLSLVersionMinor = 20 ;
672
675
}
673
676
}
674
677
if (gGLManager .mIsApple )
You can’t perform that action at this time.
0 commit comments