clean
This commit is contained in:
parent
3c64098157
commit
b2bdfa3e27
1 changed files with 4 additions and 0 deletions
|
@ -71,6 +71,10 @@ quitGame (MsgKeyboardEvent _ _ SDL.Pressed False sym)
|
||||||
| SDL.keysymKeycode sym == SDL.KeycodeEscape = do
|
| SDL.keysymKeycode sym == SDL.KeycodeEscape = do
|
||||||
ad <- A.get
|
ad <- A.get
|
||||||
ud <- getAffection
|
ud <- getAffection
|
||||||
|
let Subsystem w m k = subsystems ud
|
||||||
|
mapM_ (partUnsubscribe w) (uuid ud)
|
||||||
|
mapM_ (partUnsubscribe m) (uuid ud)
|
||||||
|
mapM_ (partUnsubscribe k) (uuid ud)
|
||||||
SDL.glMakeCurrent (drawWindow ad) (glContext ad)
|
SDL.glMakeCurrent (drawWindow ad) (glContext ad)
|
||||||
(ws, _) <- yieldSystemT (0, defStorage) (return ())
|
(ws, _) <- yieldSystemT (0, defStorage) (return ())
|
||||||
putAffection ud
|
putAffection ud
|
||||||
|
|
Loading…
Reference in a new issue