[core] Align line vertex to 4-byte boundary
10 byte vertices are heavily penalized by common GL implementations.
This commit is contained in:
@@ -10,7 +10,7 @@ namespace mbgl {
|
||||
|
||||
using namespace style;
|
||||
|
||||
static_assert(sizeof(LineLayoutVertex) == 10, "expected LineLayoutVertex size");
|
||||
static_assert(sizeof(LineLayoutVertex) == 12, "expected LineLayoutVertex size");
|
||||
|
||||
template <class Values, class...Args>
|
||||
Values makeValues(const RenderLinePaintProperties::PossiblyEvaluated& properties,
|
||||
|
||||
Reference in New Issue
Block a user