X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fbuilders%2Fvertexbuilder.h;h=49a20b5cede9fb872506f6b166c6ff84ed541d1f;hp=cfb4b31b46ba0d1ec003daac38ac6e57323d2175;hb=d493917dbc215cd6ba3f8773a52a289d9f14380d;hpb=a3cc9f4469153396c7ad0868f3cbb2d2f698d710 diff --git a/source/builders/vertexbuilder.h b/source/builders/vertexbuilder.h index cfb4b31b..49a20b5c 100644 --- a/source/builders/vertexbuilder.h +++ b/source/builders/vertexbuilder.h @@ -132,7 +132,7 @@ public: { color(Color(r, g, b, a)); } void color(const Color &c) - { attrib(get_attribute_semantic(COLOR4_FLOAT), Vector4(c.r, c.g, c.b, c.a)); } + { attrib(get_attribute_semantic(COLOR4), Vector4(c.r, c.g, c.b, c.a)); } void group(int g0) { group(g0, 0, 0, 0); }