mirror of
https://github.com/overte-org/overte.git
synced 2025-04-09 21:23:49 +02:00
Merge pull request #1407 from HifiExperiments/fontAssert
fix font assert
This commit is contained in:
commit
1e07398dc4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue