浏览代码

Remove dead code

rexim 2 年之前
父节点
当前提交
7e97a9aad4
共有 1 个文件被更改,包括 0 次插入11 次删除
  1. 0 11
      src/free_glyph.c

+ 0 - 11
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->x += metric.ax;
         pos->y += metric.ay;
         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(
         simple_renderer_image_rect(
             sr,
             sr,
             vec2f(x2, -y2),
             vec2f(x2, -y2),