renders great. need to 2 step it so I can render in the other systems, and figure out how to get winit events into the system. bleh

This commit is contained in:
2021-02-14 22:33:38 -08:00
parent 0a7fe889d2
commit 6fb6e433fb
3 changed files with 49 additions and 47 deletions

View File

@@ -143,9 +143,8 @@ fn main() {
let mut imgui_platform = ImguiPlatform {
platform: platform,
};
let font_size = 10.0 as f32;
imgui_context.context.io_mut().font_global_scale = 10.0 as f32;
let font_size = 20.0 as f32;
imgui_context.context.io_mut().font_global_scale = 1.0 as f32;
imgui_context.context.fonts().add_font(&[FontSource::DefaultFontData {
config: Some(imgui::FontConfig {
oversample_h: 1,