sdl2_nim icon indicating copy to clipboard operation
sdl2_nim copied to clipboard

Wrapper of the SDL 2 library for the Nim language.

Results 8 sdl2_nim issues
Sort by recently updated
recently updated
newest added

Small fixes to not use stubbed pointers but rather the real types of some packages when some indicator it exists has been given. Takes a similar approach to nimgl and...

I just spent 10-20 minutes to hunt down why I could not echo a `byte`, which is cause of https://github.com/Vladar4/sdl2_nim/blob/43bbdb99e01aa3d2117fc536dd6b0ed3280791a9/sdl2_nim/private/stdinc.nim#L87. This should be behind a flag or removed in my...

This is causing clashes with the nim-lang/sdl2 wrapper and doesn't reflect the name that's in the packages.json file. You will also need to rename the `sdl2` directory to `sdl2_nim`.

If I try to compile with `nim c -d:SDL_VIDEO_DRIVER_WAYLAND main.nim`, the compiler throws this error: `~/.nimble/pkgs/sdl2_nim-2.0.10.0/sdl2/sdl_syswm.nim(54, 5) Error: expression 'nil' is of type 'typeof(nil)' and has to be discarded` Line...

Is there a way to link statically to SDL2 with your wrapper? I know with nim-lang/sdl2 it was required to define SDL_STATIC. Thanks

I talked a bit with dom86 about this and he's fine with this one becoming the first-stop for people looking for a sdl2 package. See: https://irclogs.nim-lang.org/29-03-2018.html#11:00:51 Didn't know how to...

Hey, first of all thanks for these awesome clean and well documented bindings :) When I build SDL_gpu from source (using MSYS2 MinGW 64-bit) I get `libSDL2_gpu.dll`, while my test...