[Simple DirectMedia Layer 2](https://www.libsdl.org/) (SDL2) is designed to provide platform independent access to various common multimedia devices. It is the new, current and updated version of SDL and recommended for new projects over legacy SDL1.2
1
vote
1answer
118 views
Where can I get correct pitch parameter for SDL_RenderReadPixels function in SDL2?
I have a texture created with SDL_TEXTUREACCESS_TARGET access and I want to get all it's pixels with SDL_RenderReadPixels() function. One of the function parameters is pitch and I don't really know ...
0
votes
1answer
114 views
Rescale pixel art scenery before rendering in SDL2
I looked at this page that mentions the SDL2_gfx library for rescaling SDL_Surfaces without the image getting blurry:
SDL zooming/upscaling without images becoming blurry?
I wanted to know if it was ...