Opacity compositing

This commit is contained in:
2026-03-23 16:33:19 -04:00
parent 6079117f2c
commit e327516e5e
6 changed files with 42 additions and 10 deletions

View File

@@ -101,6 +101,7 @@ async fn run_demo() -> Result<(), Box<dyn Error>> {
window.surface_target(),
initial_size.width as u32,
initial_size.height as u32,
ruin_ui::Color::rgb(0x08, 0x0C, 0x14),
)
.expect("wgpu renderer should initialize");
let state = Rc::new(RefCell::new(WorkerState {