Fix picture vertex buffering bug

This commit is contained in:
2026-01-02 10:58:28 +00:00
parent 2c978b4de1
commit 119234af89
6 changed files with 67 additions and 62 deletions
+1
View File
@@ -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