a little cleaner

This commit is contained in:
Amedeo Molnár 2023-10-22 12:46:16 +02:00
parent 4feac51f26
commit 2d3fc457be

View file

@ -235,8 +235,7 @@ recordCommandBuffer
materialMap <- (liftIO . STM.atomically . STM.readTMVar) =<< asks materialLibrary
let draws = compactDraws meshMap materialMap renderObjects
let drawCommands = V.map
drawCommands = V.map
(\(i, RenderObject mesh _ _) ->
Vk.DrawIndirectCommand
{ vertexCount = fromIntegral (V.length $ meshVertices $ meshMap M.! mesh)