Continue mutability changes
This commit is contained in:
+4
-3
@@ -137,9 +137,10 @@ vboFromType ps sn = case sn of
|
||||
_ -> undefined
|
||||
|
||||
|
||||
pokeLayVerxs :: MV.MVector (PrimState IO) VShader -> [Verx] -> IO (IM.IntMap (PicShads Int))
|
||||
pokeLayVerxs vbos vxs = do
|
||||
counts <- UMV.replicate (6*6) 0
|
||||
pokeLayVerxs :: MV.MVector (PrimState IO) VShader
|
||||
-> UMV.MVector (PrimState IO) Int
|
||||
-> [Verx] -> IO (IM.IntMap (PicShads Int))
|
||||
pokeLayVerxs vbos counts vxs = do
|
||||
VS.mapM_ (pokeLayVerx vbos counts) $ VS.fromList vxs
|
||||
vToLayPicShad counts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user