QueueDestroySampler

d3d11-revived
Caleb Cornett 2023-10-12 22:12:55 -05:00
parent 42a9ce28e6
commit d4ac8a1656
1 changed files with 3 additions and 1 deletions

View File

@ -1319,7 +1319,9 @@ static void D3D11_QueueDestroySampler(
Refresh_Renderer *driverData, Refresh_Renderer *driverData,
Refresh_Sampler *sampler Refresh_Sampler *sampler
) { ) {
NOT_IMPLEMENTED D3D11Sampler *d3d11Sampler = (D3D11Sampler*) sampler;
ID3D11SamplerState_Release(d3d11Sampler->handle);
SDL_free(d3d11Sampler);
} }
static void D3D11_QueueDestroyBuffer( static void D3D11_QueueDestroyBuffer(