From 5ba865489ba8ed3c2883294b4525b2d354b1c8e9 Mon Sep 17 00:00:00 2001
From: Caleb Cornett <caleb.cornett@outlook.com>
Date: Thu, 12 Oct 2023 22:12:55 -0500
Subject: [PATCH] QueueDestroySampler

---
 src/Refresh_Driver_D3D11.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Refresh_Driver_D3D11.c b/src/Refresh_Driver_D3D11.c
index 9d3ec06..bd6f911 100644
--- a/src/Refresh_Driver_D3D11.c
+++ b/src/Refresh_Driver_D3D11.c
@@ -1319,7 +1319,9 @@ static void D3D11_QueueDestroySampler(
 	Refresh_Renderer *driverData,
 	Refresh_Sampler *sampler
 ) {
-	NOT_IMPLEMENTED
+	D3D11Sampler *d3d11Sampler = (D3D11Sampler*) sampler;
+	ID3D11SamplerState_Release(d3d11Sampler->handle);
+	SDL_free(d3d11Sampler);
 }
 
 static void D3D11_QueueDestroyBuffer(