Continue transfer to mutable vectors

This commit is contained in:
jgk
2021-08-11 22:02:17 +02:00
parent 0c4c83abb5
commit 1f2f5431c0
5 changed files with 50 additions and 44 deletions
+5 -3
View File
@@ -76,10 +76,12 @@ doDrawing pdata w = do
then renderTextureWalls pdata nWalls
else renderBlankWalls pdata nWalls
_ <- renderFoldable pdata $ polysToPic $ foregroundPics w
let shads = _pictureShaders pdata
vShads <- picShadToMV shads
_ <- renderFoldable vShads $ polysToPic $ foregroundPics w
vnums <- pokeBindFoldableLayer pdata $ worldPictures w
let shads = _pictureShaders pdata
renderLayer 0 shads vnums
nTextArrayVs <- pokePoint33s (shadVBOptr $ _textureArrayShader pdata) (_floorTiles w)
@@ -174,7 +176,7 @@ doDrawing pdata w = do
blend $= Enabled
blendFunc $= (SrcAlpha,OneMinusSrcAlpha)
_ <- renderFoldable pdata $ fixedCoordPictures w
_ <- renderFoldable vShads $ fixedCoordPictures w
depthMask $= Enabled
eTicks <- SDL.ticks