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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user