Files
kaizen/subprojects/SDL3-3.4.0/examples/renderer/15-cliprect
2026-04-23 16:59:45 +02:00
..
2026-04-23 16:59:45 +02:00
2026-04-23 16:59:45 +02:00
2026-04-23 16:59:45 +02:00
2026-04-23 16:59:45 +02: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.