Files
jak-project/third-party/SDL/examples/renderer/15-cliprect
2026-04-08 18:09:57 -04:00
..
2026-04-08 18:09:57 -04:00
2025-03-02 16:36:22 -05:00
2026-04-08 18:09:57 -04:00
2025-03-02 16:36:22 -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.