try fixing

This commit is contained in:
nek0 2023-08-25 00:59:36 +02:00 committed by Amedeo Molnár
parent 9350198e35
commit 167599df74

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