From 02501ce1a1ca3b0b836f8ff4ea07a858dc6146af 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