Fix resetting of immutable chasm/floor data storage on new world load

This commit is contained in:
2025-11-22 11:27:41 +00:00
parent 54ca961496
commit a381633dc8
6 changed files with 159 additions and 176 deletions
+1 -1
View File
@@ -44,7 +44,6 @@ doTestDrawing _ _ = do
doDrawing' :: SDL.Window -> RenderData -> Universe -> IO ()
doDrawing' win pdata u = do
--sTicks <- SDL.ticks
checkGLError "during drawing"
let w = _uvWorld u
cfig = _uvConfig u
(windowPoints, wallSPics, wallsToPoke) = wallsToDraw w
@@ -383,6 +382,7 @@ doDrawing' win pdata u = do
glDepthMask GL_TRUE
with (-1) $ glClearNamedFramebufferfv 0 GL_DEPTH 0
renderLayer FixedCoordLayer shadV pokeCounts
checkGLError "during doDrawing'"
SDL.glSwapWindow win
rdToVec2s :: Distortion -> [Point2]