show fps
This commit is contained in:
parent
40d88c4fd2
commit
f034f40c2d
1 changed files with 2 additions and 2 deletions
|
@ -143,8 +143,8 @@ update sec = do
|
|||
-- liftIO $ delaySec 5
|
||||
ad@AffectionData{..} <- get
|
||||
let ud@UserData{..} = userState
|
||||
traceM $ show elapsedTime
|
||||
if elapsedTime < 5
|
||||
traceM $ (show $ 1 / sec) ++ " FPS"
|
||||
if elapsedTime < 20
|
||||
then do
|
||||
fg <- liftIO $ G.gegl_buffer_get_extent foreground
|
||||
_ <- liftIO $ G.gegl_buffer_set_extent foreground $ fg
|
||||
|
|
Loading…
Reference in a new issue