diff --git a/src/render/direct3d11/SDL_render_d3d11.c b/src/render/direct3d11/SDL_render_d3d11.c index ef5db8497..d75da715b 100644 --- a/src/render/direct3d11/SDL_render_d3d11.c +++ b/src/render/direct3d11/SDL_render_d3d11.c @@ -1862,6 +1862,8 @@ D3D11_UpdateVertexBuffer(SDL_Renderer *renderer, return -1; } + rendererData->vertexBufferSizes[vbidx] = dataSizeInBytes; + ID3D11DeviceContext_IASetVertexBuffers(rendererData->d3dContext, 0, 1,