]> git.tdb.fi Git - libs/gl.git/blobdiff - source/builders/vertexbuilder.h
Make VertexFormat capable of storing type information
[libs/gl.git] / source / builders / vertexbuilder.h
index cfb4b31b46ba0d1ec003daac38ac6e57323d2175..49a20b5cede9fb872506f6b166c6ff84ed541d1f 100644 (file)
@@ -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); }