X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fvertexformat.cpp;h=3db7542f4da68ab240ed17d7773299908dbcc7d9;hb=560b11de262a6cae2c71d744598bf3fd435ab14f;hp=b95da9d1af0a94ad94ae64a554a6e8f04c131879;hpb=acaefb4c669f01855252818ef0a2958cbdababc3;p=libs%2Fgl.git diff --git a/source/core/vertexformat.cpp b/source/core/vertexformat.cpp index b95da9d1..3db7542f 100644 --- a/source/core/vertexformat.cpp +++ b/source/core/vertexformat.cpp @@ -7,10 +7,6 @@ using namespace std; namespace Msp { namespace GL { -VertexFormat::VertexFormat(): - count(0) -{ } - VertexFormat::VertexFormat(VertexAttribute a): count(1) { @@ -192,7 +188,8 @@ void operator>>(const LexicalConverter &conv, VertexAttribute &a) convert_attribute(str, "GROUP", 1, 4, a, GROUP1) || convert_attribute(str, "WEIGHT", 1, 4, a, WEIGHT1) || convert_attribute(str, "TEXCOORD", 1, 4, a, TEXCOORD1) || - convert_attribute(str, "GENERIC", 1, 4, a, GENERIC1)) + convert_attribute(str, "GENERIC", 1, 4, a, GENERIC1) || + convert_attribute(str, "PADDING", 1, 4, a, PADDING1)) return; } catch(...)