Skip to content

Commit c08b104

Browse files
authored
gpu/d3d12: Acknowledge that we've bound vertex buffers (#13088)
1 parent c89357b commit c08b104

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gpu/d3d12/SDL_gpu_d3d12.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4957,6 +4957,8 @@ static void D3D12_INTERNAL_BindGraphicsResources(
49574957
0,
49584958
commandBuffer->vertexBufferCount,
49594959
vertexBufferViews);
4960+
4961+
commandBuffer->needVertexBufferBind = false;
49604962
}
49614963

49624964
if (commandBuffer->needVertexSamplerBind) {

0 commit comments

Comments
 (0)