mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 04:40:03 -04:00
Fix transparent child viewports on `Windows` with `glow` * Closes #3632 * Related #4451 * Related #5072 * Closes #7543 * Related #8116 Transparent native child viewports could become opaque on Windows when the selected GL config reports that it does not support transparency. `glutin_winit::finalize_window` clears the native transparent window attribute in that case. However, on affected Windows GL paths, transparent native windows and their GL surfaces still composite correctly. This change preserves the transparent window attribute for explicitly transparent non-root viewports on Windows by creating those windows directly. Tested manually on Windows with glow: - root transparent viewport - deferred native child viewport - immediate native child viewport