From cb46e1b3f06a08d57b4ccd83127d1ec3139e1c0f Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 12 Aug 2022 20:51:44 -0700 Subject: [PATCH] Removed unused variable --- src/render/direct3d12/SDL_render_d3d12.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/render/direct3d12/SDL_render_d3d12.c b/src/render/direct3d12/SDL_render_d3d12.c index 924466cc5..397101974 100644 --- a/src/render/direct3d12/SDL_render_d3d12.c +++ b/src/render/direct3d12/SDL_render_d3d12.c @@ -2256,7 +2256,6 @@ D3D12_UpdateVertexBuffer(SDL_Renderer *renderer, D3D12_RenderData *rendererData = (D3D12_RenderData *) renderer->driverdata; HRESULT result = S_OK; const int vbidx = rendererData->currentVertexBuffer; - const UINT stride = sizeof(VertexPositionColor); UINT8* vertexBufferData = NULL; D3D12_RANGE range; ID3D12Resource *vertexBuffer;