From e75735bbf6a8a1393dfef007e0c472614818916f Mon Sep 17 00:00:00 2001 From: nek0 Date: Sat, 16 Dec 2017 23:48:45 +0100 Subject: [PATCH] clear more buffers --- src/Affection.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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