- remove use of builtin and deprecated color vertex attribute.

This commit is contained in:
Christoph Oelckers 2014-07-15 00:37:13 +02:00
commit 5a322742c3
5 changed files with 9 additions and 6 deletions

View file

@ -136,7 +136,7 @@ bool FRenderState::ApplyShader()
}
}
glColor4fv(mColor.vec);
glVertexAttrib4fv(VATTR_COLOR, mColor.vec);
activeShader->muDesaturation.Set(mDesaturation / 255.f);
activeShader->muFogEnabled.Set(fogset);