Fix picture vertex buffering bug
This commit is contained in:
@@ -228,6 +228,7 @@ renderLayer ::
|
||||
IO ()
|
||||
renderLayer layer shads counts = do
|
||||
let layerCounts = UMV.slice (ln * numShads) numShads counts
|
||||
putStrLn $ "layer: " <> show (ln * numShads)
|
||||
MV.imapM_ (drawShaderLay ln layerCounts) shads
|
||||
where
|
||||
ln = fromEnum layer
|
||||
|
||||
Reference in New Issue
Block a user