try fixing

This commit is contained in:
nek0 2023-08-25 00:59:36 +02:00
parent 8aab6e9bbb
commit 1cae4b0d65

View file

@ -61,7 +61,7 @@ createFrames
(\_ -> do (\_ -> do
commandPool <- snd <$> commandPool <- snd <$>
(Vk.withCommandPool logicalDevice poolCreateInfo Nothing allocate) Vk.withCommandPool logicalDevice poolCreateInfo Nothing allocate
let commandBufferAllocationInfo = Vk.zero let commandBufferAllocationInfo = Vk.zero
{ Vk.commandPool = commandPool { Vk.commandPool = commandPool
@ -296,7 +296,7 @@ recordCommandBuffer
commandBuffer commandBuffer
(allocatedBuffer $ frameIndirectBuffer frame) (allocatedBuffer $ frameIndirectBuffer frame)
indirectOffset indirectOffset
(fromIntegral $ V.length draws) count
drawStride drawStride
) )
draws draws