Files
pke/thirdparty/SDL3-3.4.0/examples/renderer/15-cliprect
2026-02-12 11:46:06 +03:00
..
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03:00
2026-02-12 11:46:06 +03: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.