Move towards resolving picture rendering bug

The bug concerns a mutable vector storing the amount of data that has
been poked.
This commit is contained in:
2026-01-01 23:44:18 +00:00
parent 0a8725f68d
commit 2c978b4de1
19 changed files with 316 additions and 315 deletions
+1 -1
View File
@@ -227,7 +227,7 @@ renderLayer ::
UMV.MVector (PrimState IO) Int ->
IO ()
renderLayer layer shads counts = do
let layerCounts = UMV.slice (ln * numLayers) numShads counts
let layerCounts = UMV.slice (ln * numShads) numShads counts
MV.imapM_ (drawShaderLay ln layerCounts) shads
where
ln = fromEnum layer