fix to make rendering change work on windows compile
This commit is contained in:
parent
2718590d8b
commit
e02ab24488
808
4coder_API.html
808
4coder_API.html
File diff suppressed because it is too large
Load Diff
|
@ -628,7 +628,9 @@ font_load_freetype(Partition *part,
|
|||
c->xoff2 = w + c->xoff;
|
||||
c->yoff2 = h + c->yoff + 1;
|
||||
|
||||
rf->advance_data[i] = CEIL32(face->glyph->advance.x / 64.0f);
|
||||
// TODO(allen): maybe advance data should be integers for a while...
|
||||
// I require the actual values to be integers anyway... hmm...
|
||||
rf->advance_data[i] = (f32)CEIL32(face->glyph->advance.x / 64.0f);
|
||||
|
||||
rf->glyphs[i].exists = 1;
|
||||
|
||||
|
|
Loading…
Reference in New Issue