]> git.tdb.fi Git - libs/gl.git/commit
Tweak the comma operator between VertexAttribute and unsigned
authorMikko Rasa <tdb@tdb.fi>
Mon, 13 Sep 2021 17:03:12 +0000 (20:03 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 13 Sep 2021 17:03:12 +0000 (20:03 +0300)
commita04e4054b3001d24a540a0e7b088d270f3e07c07
tree88f41453be3f7fce5482b922ddd9cebc81e91393
parent2e1a887ef0d4a0af8b8aa781619cff6d75692e14
Tweak the comma operator between VertexAttribute and unsigned

It now returns VertexAttribute instead of VertexFormat, avoiding the need
to call make_indexed_attribute in some cases.
source/core/vertexformat.h
source/render/instancearray.cpp