Skip to content

Commit f8fad89

Browse files
author
Rye
committed
Fix mesa failing to link shaders due to missing vertex shader outputs
1 parent 0dda1b0 commit f8fad89

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)