X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fvertexsetup.cpp;h=2994916e81e0503c29110d55882f60cccf258ea1;hb=e1be82a4dfce8d90358c506f65be09da4dc9d5ec;hp=61bf032c0fcaecae0ffac46fef15c95f86e95952;hpb=d16d28d2ccf7c6255204f02975834f713ff1df08;p=libs%2Fgl.git diff --git a/source/core/vertexsetup.cpp b/source/core/vertexsetup.cpp index 61bf032c..2994916e 100644 --- a/source/core/vertexsetup.cpp +++ b/source/core/vertexsetup.cpp @@ -73,7 +73,7 @@ bool VertexSetup::verify_format(const VertexFormat &fmt) return false; static unsigned max_attribs = Device::get_current().get_info().limits.max_vertex_attributes; - return all_of(fmt.begin(), fmt.end(), [](VertexAttribute a){ return get_attribute_semantic(a)