aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Spear/Render/Core/Buffer.hs1
1 files changed, 0 insertions, 1 deletions
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
63 63
64deleteBuffer :: Buffer -> Game RenderCoreState () 64deleteBuffer :: Buffer -> Game RenderCoreState ()
65deleteBuffer buffer = do 65deleteBuffer buffer = do
66 let matches buffer = (==bufferHandle buffer) . bufferHandle
67 modifyGameState (\state -> state { 66 modifyGameState (\state -> state {
68 buffers = HashMap.delete (bufferHandle buffer) (buffers state) }) 67 buffers = HashMap.delete (bufferHandle buffer) (buffers state) })
69 release buffer 68 release buffer