sdl2
sdl2 copied to clipboard
Haskell bindings to the SDL2 library
- Create a [project](https://github.com/haskell-game/sdl2/projects) - Add boards by upstream version - Plow through the code and compare it to https://www.libsdl.org/tmp/SDL/WhatsNew.txt
Hello! I have been trying to get a program I've written to work in Wayland by setting the environment variable `export SDL_VIDEODRIVER=wayland` but I get this error: ` SDLCallFailed {sdlExceptionCaller...
We already had copyExF, this also adds * copyF * drawLineF * drawLinesF * drawPointF * drawPointsF * drawRectF * drawRectsF * fillRectF * fillRectsF
I'm running into a funny error where I'm not able to create a renderer. This error only happens when building using nix (and I'm fairly new to nix so this...
It doesn't look like there's a high-level binding for [`SDL_PushEvent`](https://wiki.libsdl.org/SDL_PushEvent) (despite there being a low-level one) It looks like there's high-level support for pushing user-defined events, but not for pushing...
I'd like to be able to call these functions https://github.com/libsdl-org/SDL/blob/release-2.0.18/include/SDL_render.h#L1601-L1651
Hi, I'm trying to use the SDL 2 bindings to play basic audio, and am encountering some odd errors. I have a small test program which is quite similar to...
https://hackage.haskell.org/package/sdl2-2.5.3.0/docs/SDL-Input-Mouse.html#v:createCursor is broken, shows every one of four vertical lines. It should probably use https://hackage.haskell.org/package/base-4.12.0.0/docs/Foreign-C-Types.html#t:CBool instead of `Bool`, as per https://stackoverflow.com/questions/41777675/large-size-of-bool-in-foreign-storable/46784931 However, due to old Ubuntu and so old C...
This ``` pkgconfig-depends: sdl2 >= 2.0.6 ``` seems inaccurate. It requires sdl2 >= 2.0.10 according to https://github.com/haskell-game/sdl2/issues/240 and it seems to fail with 2.0.20 as seen in https://ci.appveyor.com/project/Mikolaj/allure/builds/42817009 Of course,...
[Apparently](https://github.com/haskell-opengl/OpenGL/issues/89) requires a new Hackage release.