Skip to content

Commit 67b9779

Browse files
authored
Merge pull request #3262 from secondlife/rye/extra-mesafix
Fix mesa failing to link shaders due to missing vertex shader outputs
2 parents 5d64e64 + f8fad89 commit 67b9779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

indra/llrender/llshadermgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ bool LLShaderMgr::attachShaderFeatures(LLGLSLShader * shader)
7979
//////////////////////////////////////
8080

8181
// NOTE order of shader object attaching is VERY IMPORTANT!!!
82-
if (features->calculatesAtmospherics)
82+
if (features->calculatesAtmospherics || features->hasGamma || features->isDeferred)
8383
{
8484
if (!shader->attachVertexObject("windlight/atmosphericsVarsV.glsl"))
8585
{

0 commit comments

Comments
 (0)