Continue transfer to mutable vectors
This commit is contained in:
+5
-3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user