This commit is contained in:
Chris Cochrun 2025-07-09 06:04:05 -05:00
parent 8fa8c752ed
commit 84de74e7c2
3 changed files with 151 additions and 3 deletions

View file

@ -189,7 +189,7 @@ impl winit::application::ApplicationHandler for Application {
right: 600,
bottom: 160,
},
default_color: Color::rgb(255, 255, 255),
default_color: Color::rgb(0, 0, 0),
}],
swash_cache,
)
@ -205,7 +205,7 @@ impl winit::application::ApplicationHandler for Application {
view: &view,
resolve_target: None,
ops: Operations {
load: LoadOp::Clear(wgpu::Color::BLACK),
load: LoadOp::Clear(wgpu::Color::WHITE),
store: wgpu::StoreOp::Store,
},
})],