Graphics: Change Vertex color to 4 components.
This commit is contained in:
parent
edfc5298e1
commit
8675018522
7 changed files with 12 additions and 12 deletions
|
|
@ -92,7 +92,7 @@ void Text::updateGeometry() const
|
|||
{
|
||||
Vector2f origin;
|
||||
Vector2f size = getSize();
|
||||
Vector3f color = getColor().toRGBf();
|
||||
Vector4f color = getColor().toRGBAf();
|
||||
|
||||
m_vertices.clear();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue