- fixed model vertex buffer setup.
Setting the buffer and its attribute bindings must be one step, not twp. With Vulkan this is a single API call. This removes the now obsolete SetVertexBuffer method from the model renderer's interface.
This commit is contained in:
parent
a62cd64138
commit
51acf3053c
8 changed files with 4 additions and 31 deletions
|
|
@ -218,10 +218,6 @@ namespace swrenderer
|
|||
return new SWModelVertexBuffer(needindex, singleframe);
|
||||
}
|
||||
|
||||
void SWModelRenderer::SetVertexBuffer(IModelVertexBuffer *buffer)
|
||||
{
|
||||
}
|
||||
|
||||
void SWModelRenderer::ResetVertexBuffer()
|
||||
{
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue