]> git.tdb.fi Git - libs/gl.git/commit
Fix vertex array offsets
authorMikko Rasa <tdb@tdb.fi>
Mon, 3 Sep 2012 19:06:25 +0000 (22:06 +0300)
committerMikko Rasa <tdb@tdb.fi>
Mon, 3 Sep 2012 20:07:13 +0000 (23:07 +0300)
commitab59f5a9e66b3fc7872ad96ec7949940189f0819
treefb2755fbc8bf220be87ab4f820305bddc7a1de48
parentf2592f0e67d92043952eb7a2e39df182720cd990
Fix vertex array offsets

Since array application order may now be different from the format order,
and VertexArrayBuilder stores components in the latter, calculating the
offsets while applying arrays gives wrong results.
source/vertexarray.cpp
source/vertexarray.h