Cleanup createLightmap

This commit is contained in:
2021-09-01 01:13:10 +01:00
parent 4cd8b5aa1c
commit db5c27a3ed
3 changed files with 51 additions and 125 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ doDrawing pdata w = do
-- this is not ideal if the original is not divisible by 2
bindFramebuffer Framebuffer $= fst (_fboLighting pdata)
createLightMap pdata lightPoints nWalls nSils nsurfVs
createLightMap pdata lightPoints nWalls nSils
colorMask $= Color4 Enabled Enabled Enabled Enabled
clearColor $= Color4 0 0 0 0