imgui: revert font OverSampleH to 3

ImGui changed OversampleH default to 2, but it appears to sometimes cause
crashing issues in 32bit applications.
pull/1151/head
FlightlessMango 7 months ago
parent e85c580de3
commit fae6035c20

@ -32,6 +32,9 @@ void create_fonts(ImFontAtlas* font_atlas, const overlay_params& params, ImFont*
// Load Icon file and merge to exisitng font
ImFontConfig config;
config.MergeMode = true;
// ImGui changed OversampleH default to 2, but it appears to sometimes cause
// crashing issues in 32bit applications.
config.OversampleH = 3;
static const ImWchar icon_ranges[] = { ICON_MIN_FK, ICON_MAX_FK, 0 };
ImVector<ImWchar> glyph_ranges;

Loading…
Cancel
Save