|
|
@@ -98,9 +98,9 @@ float
|
|
|
fga_calc_col_buffer(const struct free_glyph_atlas *fga,
|
|
|
const struct app *app)
|
|
|
{
|
|
|
- return fga_calc_col(fga, app, app->buf.data.items,
|
|
|
- app->buf.data.size, vec2fs(0),
|
|
|
- app->buf.cur);
|
|
|
+ return fga_calc_col(fga, app, app->cbuf->data.items,
|
|
|
+ app->cbuf->data.size, vec2fs(0),
|
|
|
+ app->cbuf->cur);
|
|
|
}
|
|
|
|
|
|
void
|
|
|
@@ -147,7 +147,7 @@ void
|
|
|
fga_calc_buffer(struct free_glyph_atlas *fga, struct simple_render *sr,
|
|
|
const struct app *app, struct vec2f size)
|
|
|
{
|
|
|
- fga_calc(fga, sr, app, app->buf.data.items, app->buf.data.size,
|
|
|
+ fga_calc(fga, sr, app, app->cbuf->data.items, app->cbuf->data.size,
|
|
|
size, vec4fs(1), vec4fs(0));
|
|
|
}
|
|
|
|