From 9d4964f8fb607e8e6274a670c83130fc569729a6 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Mon, 30 Dec 2024 12:00:59 -0800 Subject: Cleanup. --- Spear/Render/Core/Buffer.hs | 1 - 1 file changed, 1 deletion(-) diff --git a/Spear/Render/Core/Buffer.hs b/Spear/Render/Core/Buffer.hs index a4e98a4..db3437e 100644 --- a/Spear/Render/Core/Buffer.hs +++ b/Spear/Render/Core/Buffer.hs @@ -63,7 +63,6 @@ makeBuffer (BufferDesc usage bufferData) = do deleteBuffer :: Buffer -> Game RenderCoreState () deleteBuffer buffer = do - let matches buffer = (==bufferHandle buffer) . bufferHandle modifyGameState (\state -> state { buffers = HashMap.delete (bufferHandle buffer) (buffers state) }) release buffer -- cgit v1.2.3