Commit cb46e1b3f06a08d57b4ccd83127d1ec3139e1c0f

Sam Lantinga 2022-08-12T20:51:44

Removed unused variable

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/src/render/direct3d12/SDL_render_d3d12.c b/src/render/direct3d12/SDL_render_d3d12.c
index 924466c..3971019 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;