Test
This commit is contained in:
@@ -143,6 +143,7 @@ doDrawing' win pdata u = do
|
|||||||
-- need to set the drawbuffer to none
|
-- need to set the drawbuffer to none
|
||||||
glDrawBuffer GL_NONE
|
glDrawBuffer GL_NONE
|
||||||
glDrawArrays GL_TRIANGLES 0 (fromIntegral nchs)
|
glDrawArrays GL_TRIANGLES 0 (fromIntegral nchs)
|
||||||
|
-- reset drawbuffer
|
||||||
withArray [GL_COLOR_ATTACHMENT0,GL_COLOR_ATTACHMENT1,GL_COLOR_ATTACHMENT2] $
|
withArray [GL_COLOR_ATTACHMENT0,GL_COLOR_ATTACHMENT1,GL_COLOR_ATTACHMENT2] $
|
||||||
glNamedFramebufferDrawBuffers (pdata ^. fboBase . _1 . unFBO) 3
|
glNamedFramebufferDrawBuffers (pdata ^. fboBase . _1 . unFBO) 3
|
||||||
glDepthMask GL_TRUE
|
glDepthMask GL_TRUE
|
||||||
|
|||||||
Reference in New Issue
Block a user