- renamed the remaining file system access wrappers in cache1d.h

This commit is contained in:
Christoph Oelckers 2019-12-07 10:31:27 +01:00
parent 749eda32c5
commit 30cbcb54b1
21 changed files with 65 additions and 90 deletions

View file

@ -104,8 +104,8 @@ void GLInstance::Init(int ydim)
ImGui_ImplOpenGL3_Init();
if (!ttf.Size())
{
//ttf = kloadfile("demolition/Capsmall_clean.ttf", 0);
ttf = kloadfile("demolition/Roboto-Regular.ttf", 0);
//ttf = fileSystem.LoadFile("demolition/Capsmall_clean.ttf", 0);
ttf = fileSystem.LoadFile("demolition/Roboto-Regular.ttf", 0);
}
if (ttf.Size()) io.Fonts->AddFontFromMemoryTTF(ttf.Data(), ttf.Size(), std::clamp(ydim / 40, 10, 30));
}