clear more buffers
This commit is contained in:
parent
40d8770878
commit
e75735bbf6
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ withAffection AffectionConfig{..} = do
|
|||
-- execute user defined update loop
|
||||
unless (pausedTime ad) (updateLoop dt)
|
||||
-- execute user defined draw loop
|
||||
liftIO $ GL.clear [ColorBuffer, DepthBuffer]
|
||||
liftIO $ GL.clear [ColorBuffer, DepthBuffer, StencilBuffer]
|
||||
drawLoop
|
||||
liftIO flush
|
||||
-- handle all new draw requests
|
||||
|
|
Loading…
Reference in a new issue