Opacity compositing
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -36,6 +36,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
window.surface_target(),
|
||||
scene.logical_size.width as u32,
|
||||
scene.logical_size.height as u32,
|
||||
ruin_ui::Color::rgb(0x08, 0x0C, 0x14),
|
||||
)?;
|
||||
|
||||
println!("Opening RUIN Wayland / wgpu demo window...");
|
||||
|
||||
Reference in New Issue
Block a user