singe/thirdparty/SDL3/examples/renderer/15-cliprect
2026-09-03 22:01:35 -05:00
..
cliprect.c Migrated to SDL3. 2026-09-03 22:01:35 -05:00
onmouseover.webp Migrated to SDL3. 2026-09-03 22:01:35 -05:00
README.txt Migrated to SDL3. 2026-09-03 22:01:35 -05:00
thumbnail.png Migrated to SDL3. 2026-09-03 22:01:35 -05:00

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.