egui_glow: egui_glow.paint(gl_window.window()); painting the UI causes everything to be brighter
- Dominant language
- Rust
- Stars
- 30.6k
- Forks
- 2.1k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 72
Description
**Problem**
Using the egui_glow.paint(...); function to render the UI causes absolutely everything to be brighter in the gl context.
**To Reproduce**
This bug is present in the only egui_glow example - https://github.com/emilk/egui/blob/master/crates/egui_glow/examples/pure_glow.rs.
**Screenshots**

- OS: Windows 10
Contributor guide
Research direction
Start with crates/egui_glow/examples/pure_glow.rs and the egui_glow.paint(gl_window.window()) call to reproduce the brightness change on the reported Windows 10 setup. Trace the OpenGL rendering state around that call; done means painting the UI no longer makes everything else in the gl context brighter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100