fixes vertice and index creation in geometry shader mode

This commit is contained in:
zomseffen 2024-06-02 15:44:38 +02:00
parent a9d4aae1bc
commit 0f2747293f
3 changed files with 5 additions and 2 deletions

View file

@ -37,7 +37,7 @@ impl Scene {
tex_coord: vec2(0.0, 0.0)
};
cube.draw(&vk::PrimitiveTopology::TRIANGLE_LIST, index, self);
cube.draw(&data.topology, index, self);
}
}