From: Mikko Rasa Date: Sun, 28 Mar 2021 13:12:35 +0000 (+0300) Subject: Refactor lexical conversion of vertex attributes X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=2815449aa1c2a3c813f50ff85325cc2a3334430c;hp=2815449aa1c2a3c813f50ff85325cc2a3334430c;p=libs%2Fgl.git 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. ---