set gl vertcolor mapping to bgra format, the same as we do for stateblocks

This commit is contained in:
Azaezel 2019-02-11 07:42:31 -06:00
parent 008423bf32
commit aeb43432fa

View file

@ -1159,7 +1159,7 @@ void DiffuseVertColorFeatureGLSL::processVert( Vector< ShaderComponent* >& comp
outColor->setStructName( "OUT" );
outColor->setType( "vec4" );
output = new GenOp( " @ = @;\r\n", outColor, inColor );
output = new GenOp( " @ = @.bgra;\r\n", outColor, inColor );
}
else
output = NULL; // Nothing we need to do.