fix font assert

This commit is contained in:
HifiExperiments 2025-04-06 13:06:40 -07:00
parent 67f90043cf
commit 7a69fb9bb9

View file

@ -378,7 +378,7 @@ void Font::setupGPU() {
static const int TEX_BOUNDS_OFFSET = offsetof(TextureVertex, bounds);
static const int TOFU_OFFSET = offsetof(TextureVertex, isTofu);
assert(TEX_COORD_OFFSET == sizeof(glm::vec2));
assert(sizeof(TextureVertex) == 2 * sizeof(glm::vec2) + sizeof(glm::vec4));
assert(sizeof(TextureVertex) == 2 * sizeof(glm::vec2) + sizeof(glm::vec4) + sizeof(float));
assert(sizeof(QuadBuilder) == 4 * sizeof(TextureVertex));
// Setup rendering structures