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"
|
traceM "drawing"
|
||||||
AffectionData{..} <- get
|
AffectionData{..} <- get
|
||||||
let UserData{..} = userState
|
let UserData{..} = userState
|
||||||
let SDL.Surface rawSurfacePtr _ = drawSurface
|
|
||||||
SDL.V2 (CInt rw) (CInt rh) <- SDL.surfaceDimensions drawSurface
|
SDL.V2 (CInt rw) (CInt rh) <- SDL.surfaceDimensions drawSurface
|
||||||
let (w, h) = (fromIntegral rw, fromIntegral rh)
|
let (w, h) = (fromIntegral rw, fromIntegral rh)
|
||||||
liftIO $ clearArea foreground (GeglRectangle 0 0 w h)
|
liftIO $ clearArea foreground (GeglRectangle 0 0 w h)
|
||||||
|
|
Loading…
Reference in a new issue