This commit is contained in:
2025-11-21 17:34:42 +00:00
parent 3e86b6e20a
commit 9796ec576f
+1
View File
@@ -143,6 +143,7 @@ doDrawing' win pdata u = do
-- need to set the drawbuffer to none
glDrawBuffer GL_NONE
glDrawArrays GL_TRIANGLES 0 (fromIntegral nchs)
-- reset drawbuffer
withArray [GL_COLOR_ATTACHMENT0,GL_COLOR_ATTACHMENT1,GL_COLOR_ATTACHMENT2] $
glNamedFramebufferDrawBuffers (pdata ^. fboBase . _1 . unFBO) 3
glDepthMask GL_TRUE