- remove use of builtin and deprecated color vertex attribute.
This commit is contained in:
parent
5193f6cfef
commit
5a322742c3
5 changed files with 9 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue