From 6caf99a13c55faa13be94c37b3f9439efaa45776 Mon Sep 17 00:00:00 2001 From: nek0 Date: Sat, 20 May 2023 20:46:21 +0200 Subject: [PATCH] remove lambda --- src/CommandBuffer.hs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/CommandBuffer.hs b/src/CommandBuffer.hs index 687697b..1d8215f 100644 --- a/src/CommandBuffer.hs +++ b/src/CommandBuffer.hs @@ -265,10 +265,8 @@ recordCommandBuffer (V.fromList [ 0 ]) mapM_ - (\index -> - Vk.cmdDraw commandBuffer (fromIntegral $ V.length $ meshVertices mesh) 1 0 index - ) - ([first .. first + count]) + (Vk.cmdDraw commandBuffer (fromIntegral $ V.length $ meshVertices mesh) 1 0) + [first .. count] ) draws