1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-31 05:40:03 -04:00
Files
egui/crates
Emil Ernerfeldt 8503a85113 Bug fix: framebuffer clear when using glow with multi-viewports (#3713)
I broke this in https://github.com/emilk/egui/pull/3665

For some reason, when using multiple viewports, the first "clear"
doesn't take.

I don't have time to investigate further, so I am adding a hack here
which:

* For single-viewport apps, the clear is done before `App::update` so
user can paint there
* For multi-viewport apps, the clear is done after `App::update`, so
that it works

This means painting in `App::update` won't work with multi-viewports.

Ideally, users should use paint callbacks instead of painting directly
in `App::update` anyways.
2023-12-18 12:47:23 +01:00
..
2023-11-30 17:46:25 +01:00
2023-12-12 12:59:40 +01:00
2023-12-12 12:59:40 +01:00
2023-04-18 15:52:45 +02:00
2023-12-08 11:02:57 +01:00
2023-12-12 12:59:40 +01:00