]> git.tdb.fi Git - libs/gl.git/commit
Refactor lexical conversion of vertex attributes
authorMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 13:12:35 +0000 (16:12 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sun, 28 Mar 2021 13:43:45 +0000 (16:43 +0300)
commit2815449aa1c2a3c813f50ff85325cc2a3334430c
tree162ea03b0ab5c9810be56b44620b885651944dc4
parentea1c10790b3f33b60c66c922f373e8a89be4dd92
Refactor lexical conversion of vertex attributes

There was an error in the size of the base string for the GENERIC
attribute, causing it to never match.  Using a utility function makes
it less dependent on magic numbers.

Color is still handled specially because of the type suffix.
source/core/vertexformat.cpp