mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:03:53 +02:00
fix font assert
This commit is contained in:
parent
67f90043cf
commit
7a69fb9bb9
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