bindbc-sdl icon indicating copy to clipboard operation
bindbc-sdl copied to clipboard

Static & dynamic D bindings to SDL and the SDL_* libraries, compatible with BetterC, @nogc, and nothrow.

Results 8 bindbc-sdl issues
Sort by recently updated
recently updated
newest added

Hi I just wanted to try this library on a Raspberry Pi 400. 1. Created a new dub package using `dub init` 2. Added `bindbc-sdl` as dependency 3. Added some...

Return value is type of void: https://wiki.libsdl.org/SDL_HapticClose Found by emscripten wasm error: wasm-ld: warning: function signature mismatch: SDL_HapticClose

Running the demo in bindbc-wgpu. Nothing should be wrong with my X11, the equivalent Rust code works, and running in a VM with mesa had the same results.

When compiling with ldc, compiler show this error. ``` ../.dub/packages/bindbc-sdl-1.1.1/bindbc-sdl/source/bindbc/sdl/dynload.d(862,41): Error: undefined identifier `SDL_LinuxSetThreadPriorityAndPolicy` ``` But only when using `SDL_2018` and `SDL_2020` using fewer versions on `dub.sdl` makes executable unable...

On macOS Big Sur M1 comes up with not supported - no library. '''d SDLSupport ret = loadSDL(); if(ret != sdlSupport) { // Handle error. For most use cases, this...

Dear Mike, I have been struggling to compile an example code on https://theartofmachinery.com/2018/12/20/emscripten_d.html. I realized that bindbc-sdl uses some types from core.stdc. Those are not available when compiling for wasm....

The [SDL 3.1 preview](https://github.com/libsdl-org/SDL/releases/tag/prerelease-3.1.0) was released today. Although the ABI hasn't been declared totally stable yet, it seems safe to say things won't change too dramatically for the stable release...

enhancement

For key bindings provided by the user of my engine, my code uses: ```D to!SDL_Keycode("SDLK_a"); ``` Up until version 1.2.4 this worked since SDL_Keycode was defined as: ```D enum SDL_Keycode...