more cleanup
This commit is contained in:
parent
cec99c0b6c
commit
1643d8b3db
1 changed files with 2 additions and 4 deletions
|
@ -212,7 +212,7 @@ recordCommandBuffer
|
|||
Vk.cmdUseRenderPass commandBuffer renderPassInfo Vk.SUBPASS_CONTENTS_INLINE $ do
|
||||
|
||||
liftIO $
|
||||
prepareRecording width height commandBuffer renderPass frameBuffer graphicsPipeline
|
||||
prepareRecording width height commandBuffer graphicsPipeline
|
||||
|
||||
renderObjects <- (liftIO . STM.atomically . STM.readTMVar) =<< asks renderables
|
||||
meshMap <- (liftIO . STM.atomically . STM.readTMVar) =<< asks meshLibrary
|
||||
|
@ -274,11 +274,9 @@ prepareRecording
|
|||
:: CInt
|
||||
-> CInt
|
||||
-> Vk.CommandBuffer
|
||||
-> Vk.RenderPass
|
||||
-> Vk.Framebuffer
|
||||
-> Vk.Pipeline
|
||||
-> IO ()
|
||||
prepareRecording width height commandBuffer renderPass frameBuffer graphicsPipeline = do
|
||||
prepareRecording width height commandBuffer graphicsPipeline = do
|
||||
Vk.cmdBindPipeline commandBuffer Vk.PIPELINE_BIND_POINT_GRAPHICS graphicsPipeline
|
||||
|
||||
let viewport = Vk.zero
|
||||
|
|
Loading…
Reference in a new issue