General cleanup

This commit is contained in:
2025-11-13 21:13:13 +00:00
parent 227f09eeda
commit ec1216e7eb
12 changed files with 186 additions and 184 deletions
+1 -2
View File
@@ -135,12 +135,11 @@ renderShadows shadrendertype nWalls nSils nCaps positiontexture normaltexture li
glDepthMask GL_FALSE
-- clearColor is specified differently in preloadRender
-- the colors are inverted
withArray [1, 1, 1, 1] $ \ptr ->
withArray [1, 1, 1, 1] $
glClearNamedFramebufferfv
(pdata ^. fboLighting . _1 . unFBO)
GL_COLOR
0
ptr
-- setup stencil and blending
glBlendFunc GL_ZERO GL_ONE_MINUS_SRC_COLOR
glStencilOpSeparate GL_FRONT GL_KEEP GL_KEEP GL_INCR_WRAP