diff options
| author | Akshay Nair <phenax5@gmail.com> | 2024-12-19 21:43:03 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2024-12-19 21:43:03 +0530 |
| commit | d44103add77718ae650bc0ad5e708e984192c29d (patch) | |
| tree | c8b7e61e127c20032ca13ff52c2309e301aaa3f3 /src/Chelleport/Context.hs | |
| parent | ac5b4be69b2ba9d2ef17d31de11d1932f9566576 (diff) | |
| download | chelleport-d44103add77718ae650bc0ad5e708e984192c29d.tar.gz chelleport-d44103add77718ae650bc0ad5e708e984192c29d.zip | |
Big refactoring
Diffstat (limited to 'src/Chelleport/Context.hs')
| -rw-r--r-- | src/Chelleport/Context.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Chelleport/Context.hs b/src/Chelleport/Context.hs index 17fdae0..15c0b6a 100644 --- a/src/Chelleport/Context.hs +++ b/src/Chelleport/Context.hs @@ -17,6 +17,10 @@ fontSize = 24 initializeContext :: IO DrawContext initializeContext = do + -- Initialize SDL + SDL.initializeAll + TTF.initialize + window <- initializeWindow renderer <- initializeRenderer window font <- loadFont |
