Refactor, remove dependency of Loop on Preload
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user