Fixed a non-gl dependent enum for vertex element types.