Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
?
  • Loading branch information
allkern committed Dec 22, 2020
1 parent 4671278 commit 0d3b08c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
*.out
*.app

# Ignore the compiled executable
# Ignore compiled executable
geebly

# Ignore external libraries
Expand All @@ -41,6 +41,7 @@ tests/

# Ignore fonts
*.ttf
res/

# Ignore external object files
build/imgui.o
Expand Down
4 changes: 2 additions & 2 deletions src/debug.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ namespace gameboy {
ImGuiIO& io = ImGui::GetIO();

io.Fonts->Clear();
io.Fonts->AddFontFromFileTTF("ubuntu.ttf", 14.0f);
io.Fonts->AddFontFromFileTTF("roboto.ttf", 12.0f);
io.Fonts->AddFontFromFileTTF("res/ubuntu.ttf", 14.0f);
io.Fonts->AddFontFromFileTTF("res/roboto.ttf", 12.0f);

ImGui::SFML::UpdateFontTexture();

Expand Down

0 comments on commit 0d3b08c

Please sign in to comment.