fix to make rendering change work on windows compile

master
Allen Webster 2016-07-13 00:43:43 -04:00
parent 2718590d8b
commit e02ab24488
2 changed files with 407 additions and 405 deletions

File diff suppressed because it is too large Load Diff

View File

@ -628,7 +628,9 @@ font_load_freetype(Partition *part,
c->xoff2 = w + c->xoff; c->xoff2 = w + c->xoff;
c->yoff2 = h + c->yoff + 1; 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; rf->glyphs[i].exists = 1;