X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fvertexformat.h;h=e3c1205058fe3e889e6deea55d2d401c42ab7f24;hp=c7a2fcf166ef28d468289891db3ca9a82ab31e9b;hb=a04e4054b3001d24a540a0e7b088d270f3e07c07;hpb=2e1a887ef0d4a0af8b8aa781619cff6d75692e14 diff --git a/source/core/vertexformat.h b/source/core/vertexformat.h index c7a2fcf1..e3c12050 100644 --- a/source/core/vertexformat.h +++ b/source/core/vertexformat.h @@ -77,11 +77,11 @@ public: inline VertexFormat operator,(VertexAttribute a1, VertexAttribute a2) { return (VertexFormat(a1), a2); } -inline VertexFormat operator,(VertexAttribute a, unsigned i) -{ return (VertexFormat(a), i); } - VertexAttribute make_indexed_attribute(VertexAttribute, unsigned); +inline VertexAttribute operator,(VertexAttribute a, unsigned i) +{ return make_indexed_attribute(a, i); } + DEPRECATED inline VertexAttribute make_indexed_component(VertexAttribute a, unsigned i) { return make_indexed_attribute(a, i); }