Revert pictures to using lists rather than streams of Verx
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ pokeVerxs
|
||||
-> UMV.MVector (PrimState IO) Int
|
||||
-> Picture
|
||||
-> IO ()
|
||||
pokeVerxs vbos count = S.mapM_ (pokeVerx vbos count)
|
||||
pokeVerxs vbos count = S.mapM_ (pokeVerx vbos count) . S.each
|
||||
|
||||
pokeVerx :: MV.MVector (PrimState IO) FullShader -> UMV.MVector (PrimState IO) Int -> Verx -> IO ()
|
||||
pokeVerx vbos offsets Verx{_vxPos=thePos,_vxCol=theCol,_vxExt=ext,_vxShadNum=theShadNum} = do
|
||||
@@ -204,7 +204,7 @@ pokeLayVerxs
|
||||
-> UMV.MVector (PrimState IO) Int
|
||||
-> Picture
|
||||
-> IO ()
|
||||
pokeLayVerxs vbos counts = S.mapM_ (pokeLayVerx vbos counts)
|
||||
pokeLayVerxs vbos counts = S.mapM_ (pokeLayVerx vbos counts) . S.each
|
||||
|
||||
pokeLayVerx :: MV.MVector (PrimState IO) FullShader -> UMV.MVector (PrimState IO) Int -> Verx -> IO ()
|
||||
--{-# INLINE pokeLayVerx #-}
|
||||
|
||||
Reference in New Issue
Block a user