fix lineColor.vert shader (#19684)

This commit is contained in:
coulsonwang 2019-05-10 11:30:37 +08:00 committed by minggo
parent cacdc4f140
commit ac0f9286bf
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@ bool ProgramCache::init()
addProgram(positionUColor_vert, positionUColor_frag);
addProgram(positionTextureColor_vert, etc1Gray_frag);
addProgram(positionTextureColor_vert, grayScale_frag);
addProgram(lineColor3D_vert, lineColor3D_frag);
return true;
}

View File

@ -37,7 +37,7 @@ varying vec4 v_fragmentColor;
void main()
{
gl_Position = u_MVPMatrix * vec4(a_position, 1.0f);
gl_Position = u_MVPMatrix * vec4(a_position, 1.0);
v_fragmentColor = a_color;
}
)";