mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-15 00:03:16 +00:00
These are much smaller than the previous BMP files Fixes https://github.com/libsdl-org/SDL/issues/14159
This example creates an SDL window and renderer, loads a texture from a .png file, and stretches it across the window. Each frame, we move the clipping rectangle around, so only a small square of the texture is actually drawn.