2026-04-01 18:25:03 +02:00

6 lines
228 B
Plaintext

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.