commit 7e97a9aad4935722f11d08d74714cedb39c1d7f4
parent 8a8df1164130afcba2bbee9d3f2adfeab32be021
Author: rexim <reximkut@gmail.com>
Date: Mon, 9 Jan 2023 13:41:33 +0700
Remove dead code
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/free_glyph.c b/src/free_glyph.c
@@ -100,17 +100,6 @@ void free_glyph_atlas_render_line_sized(Free_Glyph_Atlas *atlas, Simple_Renderer
pos->x += metric.ax;
pos->y += metric.ay;
- /*
- Free_Glyph glyph = {0};
- glyph.pos = vec2f(x2, -y2);
- glyph.size = vec2f(w, -h);
- glyph.uv_pos = vec2f(metric.tx, 0.0f);
- glyph.uv_size = vec2f(metric.bw / (float) atlas->atlas_width, metric.bh / (float) atlas->atlas_height);
- glyph.fg_color = fg_color;
- glyph.bg_color = bg_color;
- free_glyph_buffer_push(atlas, glyph);
- */
-
simple_renderer_image_rect(
sr,
vec2f(x2, -y2),