3D Editor treaks

This commit is contained in:
IlyaShurupov 2024-11-05 12:26:48 +03:00
parent 60a15fad8b
commit fdaab48158
27 changed files with 254 additions and 124 deletions

View file

@ -27,7 +27,7 @@ Canvas::Canvas(Window* window) {
mContext->vg = nvgCreateGL3(NVG_ANTIALIAS | NVG_STENCIL_STROKES);
if (nvgCreateFont(mContext->vg, "default", "Font.ttf") == -1) {
if (nvgCreateFont(mContext->vg, "default", "rsc/Font.ttf") == -1) {
ASSERT(!"Cant create NVG font")
}
}

View file

@ -36,7 +36,7 @@ DebugGUI::DebugGUI(Window* window) {
ImGui_ImplOpenGL3_Init("#version 330");
ImGuiIO& io = ImGui::GetIO();
io.Fonts->AddFontFromFileTTF("Font.ttf", 20.f);
io.Fonts->AddFontFromFileTTF("rsc/Font.ttf", 20.f);
io.ConfigInputTrickleEventQueue = false;