Browse Source

Set blendish font as soon as the font is loaded, in addition to at the beginning of each frame.

tags/v2.0.0
Andrew Belt 2 years ago
parent
commit
476a49b33b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/window.cpp

+ 1
- 0
src/window.cpp View File

@@ -298,6 +298,7 @@ Window::Window() {

// Load default Blendish font
uiFont = loadFont(asset::system("res/fonts/DejaVuSans.ttf"));
bndSetFont(uiFont->handle);
}

Window::~Window() {


Loading…
Cancel
Save