- add support for specifying the topology

This commit is contained in:
Magnus Norddahl 2019-03-01 20:06:20 +01:00
commit ee8349d168
4 changed files with 30 additions and 4 deletions

View file

@ -140,6 +140,7 @@ void VkRenderState::Apply(int dt)
// Find a render pass that matches our state
VkRenderPassKey passKey;
passKey.DrawType = dt;
passKey.VertexFormat = static_cast<VKVertexBuffer*>(mVertexBuffer)->VertexFormat;
passKey.RenderStyle = mRenderStyle;
if (mSpecialEffect > EFF_NONE)