diff --git a/Editor/Editor.cpp b/Editor/Editor.cpp index e1b5da66..dca514c9 100644 --- a/Editor/Editor.cpp +++ b/Editor/Editor.cpp @@ -48,7 +48,7 @@ namespace DT ImGui_ImplGlfw_InitForOpenGL(window->GetRawWindowPointer(), true); ImGui_ImplOpenGL3_Init("#version 440"); - io.Fonts->AddFontFromFileTTF((ctx.projectPath / "Engine" / "Fonts" / "Roboto" / "Roboto-Regular.ttf").string().c_str(), 18.f); + io.Fonts->AddFontFromFileTTF((ctx.projectPath / "Engine" / "Fonts" / "Roboto" / "Roboto-Regular.ttf").string().c_str(), 15.f); SetupImGuiStyle(); MaximizeWindow(); diff --git a/Runtime/Main.cpp b/Runtime/Main.cpp index 49239059..05be3171 100644 --- a/Runtime/Main.cpp +++ b/Runtime/Main.cpp @@ -155,7 +155,12 @@ int main(int argc, char *argv[]) context.AttachService(&window).Fatal("main()"); // Module +#ifdef _WIN32 Module gameModule(std::filesystem::current_path() / "DucktapeProject.dll", &err); +#endif +#ifdef __linux__ + Module gameModule(std::filesystem::current_path() / "DucktapeProject.so", &err); +#endif err.Fatal("main()"); context.AttachService(&gameModule).Fatal("main()");