Skip to content

Commit

Permalink
no ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
tanganke committed Nov 4, 2021
1 parent b0329ed commit 36970d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/Window.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <glad/glad.h>
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#define _USE_MATH_DEFINES
#include <glm/glm.hpp>
#include <glm/gtx/string_cast.hpp>
#include <imgui/imgui.h>
Expand Down Expand Up @@ -79,6 +80,7 @@ class Window
glfwGetMonitorContentScale(glfwGetPrimaryMonitor(), &xscale, &yscale);
// io.Fonts->AddFontFromFileTTF(font_file.c_str(), 15 * (xscale + yscale) / 2);
io.FontGlobalScale = (xscale + yscale) / 2;
io.IniFilename = nullptr;
}

inline void BeginUIFrame()
Expand Down

0 comments on commit 36970d7

Please sign in to comment.