sdl2-image
sdl2-image copied to clipboard
Calling load causes the program to do nothing. (Windows, Stack)
The following program has no output:
module Main where
import SDL.Image
main :: IO ()
main = do
putStrLn "hello world"
f <- load "guy.png"
putStrLn $ seq f "f loaded"
Commenting out the last two lines gives the expected output "hello world".
On Windows with stack, in stack.yaml
:
extra-deps:
- git: https://github.com/haskell-game/sdl2-image.git
commit: 382395c763b473032721c71921b5c9241142178f