clean somme errors

This commit is contained in:
nek0 2022-07-15 02:59:46 +02:00
parent b8d56ecb2c
commit 886498e4c4

View file

@ -14,7 +14,6 @@ import qualified Vulkan.Zero as Vk
-- internal imports -- internal imports
import Devices import Devices
import GHC.IO.Handle.Text (commitBuffer')
createCommandPool createCommandPool
:: (MonadResource m) :: (MonadResource m)
@ -99,7 +98,7 @@ recordCommandBuffer commandBuffer renderPass frameBuffer (V2 width height) graph
, Vk.width = fromIntegral width , Vk.width = fromIntegral width
, Vk.height = fromIntegral height , Vk.height = fromIntegral height
, Vk.minDepth = 0 , Vk.minDepth = 0
, Vk.maxDepth = 0 , Vk.maxDepth = 1
} }
scissor = Vk.Rect2D scissor = Vk.Rect2D
{ Vk.offset = Vk.Offset2D { Vk.offset = Vk.Offset2D