diff --git a/src/Affection.hs b/src/Affection.hs index 4988362..3f913cc 100644 --- a/src/Affection.hs +++ b/src/Affection.hs @@ -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