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