mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
[amdgpu] Fixed index buffer reference
This commit is contained in:
parent
163c78555e
commit
f8bd280e00
1 changed files with 1 additions and 1 deletions
|
|
@ -3361,7 +3361,7 @@ struct RenderState {
|
|||
if (indexBuffer.buffer == nullptr) {
|
||||
vkCmdDraw(drawCommandBuffer, count, 1, 0, 0);
|
||||
} else {
|
||||
vkCmdBindIndexBuffer(drawCommandBuffer, indexBufferStorage.getHandle(),
|
||||
vkCmdBindIndexBuffer(drawCommandBuffer, indexBuffer.buffer,
|
||||
indexBuffer.offset, vkIndexType);
|
||||
vkCmdDrawIndexed(drawCommandBuffer, indexCount, 1, 0, 0, 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue