diff --git a/src/main.cpp b/src/main.cpp index 93377db..b43b223 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -11,7 +11,6 @@ #include "math_graphics.h" #include "load_entire_file.h" #include "stb_image.h" -#include "glyphs.h" #include "../assets/shader/basic_vertex_shader.h" #include "../assets/shader/basic_pixel_shader.h" @@ -767,23 +766,6 @@ int main(int argc, char **argv) { load_map(); - String file = load_entire_file("../assets/fonts/glyph_coords_lexend.co"); - if (!file.length) { - log_error("Loading glyph_coords_lexend has failed."); - return 1; - } - - int glyphs_num = file.length / sizeof(Glyph_Coord); - if (glyphs_num != '~' - ' ' + 1) { - log_error("Wrong number of glyphs."); - return 1; - } - - Glyph_Coord* glyph_coords = (Glyph_Coord*) file.data; - - V2 quad_pos = { 0.101f, 0.101f }; - V2 quad_size = { 0.1f, 0.1f }; - IMGUI_CHECKVERSION(); ImGui::CreateContext(); ImGuiIO &io = ImGui::GetIO();