Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
initialize :: (Foldable f, Functor m, MonadIO m) => f InitFlag -> m () Source #
Initializes SDL and the given subsystems. Do not call any SDL functions prior to this one, unless otherwise documented that you may do so.
You may call this function again with additional subsystems to initialize.
Throws SDLException
if initialization fails.
initializeAll :: (Functor m, MonadIO m) => m () Source #
Equivalent to
.initialize
[minBound
.. maxBound
]