sdlada icon indicating copy to clipboard operation
sdlada copied to clipboard

Ada 2022 bindings to SDL 2

Results 33 sdlada issues
Sort by recently updated
recently updated
newest added

Another attempt to kick off: https://github.com/Lucretia/sdlada/issues/26 Thick binding to the methods required to output audio using either callbacks or queues. The reason I went for a thick binding is to...

Unit test fails, because the values are actually equal. Considering that all the other tests are comparing for equality, not inequality, I suspect a typo here. With this fix, the...

SDL_RenderGetLogicalSize and SDL_RenderSetLogicalSize have two parameters Width and Height instead of a single Size record structure and hence do not work as intended here. This PR fixes this issue.

SDL2_Mixer can be found here: https://www.libsdl.org/projects/SDL_mixer/

By subtyping Unsigned_32 the user do not need to with Interfaces when using To_Pixel.

Originally reported [here](https://github.com/Lucretia/sdlada/issues/73#issuecomment-860064430). My suspicion is that the latest version of ada has a new feature which does not allow this anonymous type usage anymore. ``` [Ada] sdl-video-palettes.adb sdl-video-palettes.adb:146:41: error:...

Trying to compile a separate project that depends on SDLAda. I have followed the directions in README.md and installed the static library at $HOME/opt. The gpr located at $HOME/opt/share/gpr is...

SDL_RenderGetLogicalSize and SDL_RenderSetLogicalSize have two parameters Width and Height instead of a single Size record structure and hence do not work as intended. Fix available via PR #65.

Compilation fails with CE 2020: sdl-video-palettes.adb:146:41: expected type "Palette_Constant_Access" defined at sdl-video-palettes.ads:124 sdl-video-palettes.adb:146:41: found type access to "Palette'CLASS" defined at line 69 sdl-video-palettes.adb:163:41: expected type "Palette_Constant_Access" defined at sdl-video-palettes.ads:124 sdl-video-palettes.adb:163:41:...

See #57. I have fixed this. Pull request available soon.