From 272db907a02124fbf63461a597b8df49e40778ee Mon Sep 17 00:00:00 2001 From: nek0 Date: Sat, 20 May 2023 21:05:17 +0200 Subject: [PATCH] fix double spaceships --- src/CommandBuffer.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CommandBuffer.hs b/src/CommandBuffer.hs index 1d8215f..fac592d 100644 --- a/src/CommandBuffer.hs +++ b/src/CommandBuffer.hs @@ -266,7 +266,7 @@ recordCommandBuffer mapM_ (Vk.cmdDraw commandBuffer (fromIntegral $ V.length $ meshVertices mesh) 1 0) - [first .. count] + [first .. (count - 1)] ) draws