diff --git a/tests/gfx/source/main.cpp b/tests/gfx/source/main.cpp index 53826a1..fc94ef0 100644 --- a/tests/gfx/source/main.cpp +++ b/tests/gfx/source/main.cpp @@ -2,6 +2,8 @@ #include #include #include +#include +#include //// #include @@ -191,7 +193,10 @@ int main(int argc, char** argv) { PD::Image img(ResourcePath("icon.png")); auto pTex = PD::Gfx::LoadTexture(img, img.Width(), img.Height()); PD::Li::Font font; - font.LoadTTF(ResourcePath("default.ttf"), 64); + std::future __f = std::async(std::launch::async, [&]() { + font.LoadTTF(ResourcePath("default.ttf"), 32, + LiFontFlags_SDF | LiFontFlags_Monospace); + }); pList.SetFont(&font); App app(font); Cursor LeftStick;