Skip to content

Commit 49366d5

Browse files
authored
Merge pull request #117 from DevJac/stop_using_deprecated_init
Replace deprecated InitEverything with initializeAll
2 parents 929dea5 + ea016db commit 49366d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SDL.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ import "SDL"
5858
5959
main :: IO ()
6060
main = do
61-
'initialize' ['InitEverything']
61+
'initializeAll'
6262
@
6363
6464
Next, you can create a 'Window' by using 'createWindow'
@@ -128,7 +128,7 @@ import "Control.Monad" (unless)
128128
129129
main :: IO ()
130130
main = do
131-
'initialize' ['InitEverything']
131+
'initializeAll'
132132
window <- 'createWindow' "My SDL Application" 'defaultWindow'
133133
renderer <- 'createRenderer' window (-1) 'defaultRenderer'
134134
appLoop renderer

0 commit comments

Comments
 (0)