~sircmpwn/hare-sdl2

add SDL_FreeSurface
add a few functions

these are some sdl functions i needed for a project.
there is not much structure beyond that.
Add SDL_GetRendererOutputSize.

Signed-off-by: Joe Finney <me@spxtr.net>
all: fix build errors
Add SDL_CreateTextureFromSurface()

Signed-off-by: francorbacho <francorbacho@proton.me>
cmd/demo: fix call to fmt::fatal()

Signed-off-by: Autumn! <autumnull@posteo.net>
correct/simplify .gitignore

Signed-off-by: Autumn! <autumnull@posteo.net>
Correct return type wrapping of Mix_Init()

Signed-off-by: Autumn! <autumnull@posteo.net>
rwops.ha: make more rigorous in order to fix various bugs

Signed-off-by: Autumn! <autumnull@posteo.net>
Use types::c:: instead of char and strings::

Signed-off-by: Autumn! <autumnull@posteo.net>
added some missing bindings
Swap io::{read,write}items for io::{read,write}all

Signed-off-by: Autumn! <autumnull@posteo.net>
add SDL_(Un)LockTexture

Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
Add SDL_GetWindowSurface wrapper

Signed-off-by: Carlos Une <une@fastmail.fm>
Add SDL_PIXELFORMAT_ARGB8888 def

Signed-off-by: Carlos Une <une@fastmail.fm>
Add SDL_CreateRGBSurface wrapper

Signed-off-by: Carlos Une <une@fastmail.fm>
Add SDL_CreateTexture, SDL_UpdateTexture wrappers

Signed-off-by: Carlos Une <une@fastmail.fm>
mixer: io::close can error

Signed-off-by: Sebastian <sebastian@sebsite.pw>
Makefile: add clean target

Signed-off-by: Sebastian <sebastian@sebsite.pw>
Makefile: add docs target

Signed-off-by: Sebastian <sebastian@sebsite.pw>
Next