some little cleaning
This commit is contained in:
parent
8820a6095f
commit
663ffca664
1 changed files with 0 additions and 1 deletions
|
@ -83,7 +83,6 @@ draw = do
|
|||
traceM "drawing"
|
||||
AffectionData{..} <- get
|
||||
let UserData{..} = userState
|
||||
let SDL.Surface rawSurfacePtr _ = drawSurface
|
||||
SDL.V2 (CInt rw) (CInt rh) <- SDL.surfaceDimensions drawSurface
|
||||
let (w, h) = (fromIntegral rw, fromIntegral rh)
|
||||
liftIO $ clearArea foreground (GeglRectangle 0 0 w h)
|
||||
|
|
Loading…
Reference in a new issue