clear more buffers

This commit is contained in:
nek0 2017-12-16 23:48:45 +01:00
parent 40d8770878
commit e75735bbf6

View file

@ -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