Rename internal C++ Color struct to Color32 to help differentiate it from Colorf.

This commit is contained in:
Alex Szpakowski
2019-09-14 23:13:40 -03:00
parent e824a1e26b
commit 9ab2a94037
17 changed files with 65 additions and 65 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ Video::Video(Graphics *gfx, love::video::VideoStream *stream, float dpiscale)
stream->fillBackBuffer();
for (int i = 0; i < 4; i++)
vertices[i].color = Color(255, 255, 255, 255);
vertices[i].color = Color32(255, 255, 255, 255);
// Vertices are ordered for use with triangle strips:
// 0---2
@@ -130,7 +130,7 @@ void Video::draw(Graphics *gfx, const Matrix4 &m)
vertex::STf_RGBAub *verts = (vertex::STf_RGBAub *) data.stream[1];
Color c = toColor(gfx->getColor());
Color32 c = toColor32(gfx->getColor());
for (int i = 0; i < 4; i++)
{