Add black background

This commit is contained in:
Hugo Mårdbrink 2025-08-25 23:35:43 +02:00
parent 705f498daa
commit 77c5c23cf5
3 changed files with 20 additions and 10 deletions

View file

@ -211,14 +211,14 @@ create_scene :: proc() {
&g.coordinator,
entity,
ecs.MeshComponent{
mesh_id = .CubeMesh
mesh_id = .Cube
})
ecs.coordinator_add_component(
ecs.MaterialComponent,
&g.coordinator,
entity,
ecs.MaterialComponent{
material_id = .GridTexture
material_id = .Grid
})
}
}