3D Editor treaks
This commit is contained in:
parent
60a15fad8b
commit
fdaab48158
27 changed files with 254 additions and 124 deletions
|
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue