prevent windows from minimizing
This commit is contained in:
parent
7a242f9695
commit
a9bf484525
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ main = do
|
|||
-- set Render quality
|
||||
SDL.HintRenderScaleQuality SDL.$= SDL.ScaleLinear
|
||||
uncurry SDL.setHint =<< (,)
|
||||
<$> newCString "SDL_HINT_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
|
||||
<$> newCString "SDL_VIDEO_MINIMIZE_ON_FOCUS_LOSS"
|
||||
<*> newCString "0"
|
||||
-- check render quality
|
||||
renderQuality <- SDL.get SDL.HintRenderScaleQuality
|
||||
|
|
Loading…
Reference in a new issue