a little cleaner
This commit is contained in:
parent
4feac51f26
commit
2d3fc457be
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue