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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user