Refactor, remove dependency of Loop on Preload

This commit is contained in:
jgk
2021-03-24 16:29:48 +01:00
parent 3cce959d00
commit f45ca2dd24
3 changed files with 68 additions and 86 deletions
+10
View File
@@ -92,6 +92,16 @@ preloadRender = do
, _fboRenderbufferObject = fboRBO
}
-- potential drawing setup
---- swapInterval $= ImmediateUpdates
-- GL.blend $= GL.Enabled
---- GL.depthMask $= GL.Enabled
-- GL.blendEquation $= GL.FuncAdd
-- GL.blendFunc $= (GL.SrcAlpha,GL.OneMinusSrcAlpha)
-- GL.clearColor $= GL.Color4 0 0.5 0 1
-- GL.clearDepth $= (200)
-- swapInterval $= ImmediateUpdates
-- GL.lineSmooth $= GL.Enabled
--------------------end preloadRender