use proper srgb color for background

This commit is contained in:
griffi-gh 2024-05-07 21:04:50 +02:00
parent df750c8901
commit ba406d812e

View file

@ -266,7 +266,7 @@ pub fn kubi_main(
let settings = world.borrow::<UniqueView<GameSettings>>().unwrap(); let settings = world.borrow::<UniqueView<GameSettings>>().unwrap();
world.add_unique_non_send_sync(Renderer::init(window_target, &settings)); world.add_unique_non_send_sync(Renderer::init(window_target, &settings));
} }
world.add_unique(BackgroundColor(vec3(0.5, 0.5, 1.))); world.add_unique(BackgroundColor(vec3(0.21, 0.21, 1.)));
//Run startup systems //Run startup systems
world.run_workload(startup).unwrap(); world.run_workload(startup).unwrap();