Removed unused variable

This commit is contained in:
Sam Lantinga 2022-08-12 20:51:44 -07:00
parent 67cb3874ef
commit cb46e1b3f0
1 changed files with 0 additions and 1 deletions

View File

@ -2256,7 +2256,6 @@ D3D12_UpdateVertexBuffer(SDL_Renderer *renderer,
D3D12_RenderData *rendererData = (D3D12_RenderData *) renderer->driverdata; D3D12_RenderData *rendererData = (D3D12_RenderData *) renderer->driverdata;
HRESULT result = S_OK; HRESULT result = S_OK;
const int vbidx = rendererData->currentVertexBuffer; const int vbidx = rendererData->currentVertexBuffer;
const UINT stride = sizeof(VertexPositionColor);
UINT8* vertexBufferData = NULL; UINT8* vertexBufferData = NULL;
D3D12_RANGE range; D3D12_RANGE range;
ID3D12Resource *vertexBuffer; ID3D12Resource *vertexBuffer;