From 4dbf4f871665b48d27ac7504e51fa92afc8e77fd Mon Sep 17 00:00:00 2001 From: "Kueffner, Maximilian" Date: Thu, 13 Mar 2025 16:29:29 +0100 Subject: [PATCH] rm non-existing-font --- src/AppGLFW.cpp | 6 +----- src/main.cpp~ | 6 ------ 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 src/main.cpp~ diff --git a/src/AppGLFW.cpp b/src/AppGLFW.cpp index b5a44d5..58d05a6 100644 --- a/src/AppGLFW.cpp +++ b/src/AppGLFW.cpp @@ -76,11 +76,7 @@ ui::AppGLFW::AppGLFW() // Setup Dear ImGui style ImGui::StyleColorsDark(); -#ifdef __linux__ - dejavu_serif = io.Fonts->AddFontFromFileTTF( - "/usr/share/fonts/dejavu-serif-fonts/DejaVuSerif.ttf", 26.0); - IM_ASSERT(dejavu_serif != nullptr); -#endif + ImGuiStyle& style = ImGui::GetStyle(); if (io.ConfigFlags & ImGuiConfigFlags_ViewportsEnable) diff --git a/src/main.cpp~ b/src/main.cpp~ deleted file mode 100644 index 2cce5f2..0000000 --- a/src/main.cpp~ +++ /dev/null @@ -1,6 +0,0 @@ -#include - -int main(int argc, char** argv) -{ - return 0; -} \ No newline at end of file