thunderbrew/vendor/sdl-3.2.10/examples/renderer/15-cliprect
2025-04-12 04:38:19 -04:00
..
cliprect.c chore(build): use SDL3 2025-04-12 04:38:19 -04:00
onmouseover.webp chore(build): use SDL3 2025-04-12 04:38:19 -04:00
README.txt chore(build): use SDL3 2025-04-12 04:38:19 -04:00
thumbnail.png chore(build): use SDL3 2025-04-12 04:38:19 -04:00

This example creates an SDL window and renderer, loads a texture
from a .bmp 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.