fixes vertice and index creation in geometry shader mode
This commit is contained in:
parent
a9d4aae1bc
commit
0f2747293f
3 changed files with 5 additions and 2 deletions
src
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue