mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 13:20:05 -04:00
Fix buggy text withviewports on monitors with different scales (#3666)
* Closes https://github.com/emilk/egui/issues/3664 Bonus: optimize color conversions and font atlas upload, especially in debug builds.
This commit is contained in:
@@ -65,6 +65,8 @@ struct GlowWinitRunning {
|
||||
|
||||
// These needs to be shared with the immediate viewport renderer, hence the Rc/Arc/RefCells:
|
||||
glutin: Rc<RefCell<GlutinWindowContext>>,
|
||||
|
||||
// NOTE: one painter shared by all viewports.
|
||||
painter: Rc<RefCell<egui_glow::Painter>>,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user