16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-18 03:09:18 +02:00

slightly better ui scaling

This commit is contained in:
milek7
2020-12-02 01:49:58 +01:00
parent ee5551a424
commit a182eec2a1
6 changed files with 18 additions and 17 deletions

View File

@@ -110,6 +110,7 @@ int const null_handle = 0;
#define glDebug(x) if (GLAD_GL_GREMEDY_string_marker) glStringMarkerGREMEDY(0, __FILE__ ":" STRINGIZE(__LINE__) ": " x);
#include "imgui/imgui.h"
#define ImVec2S(a, b) ImVec2(a * Global.ui_scale, b * Global.ui_scale)
#include "openglcolor.h"
#endif