SDL/examples/renderer/15-cliprect
2025-10-07 15:33:10 -04:00
..
cliprect.c Support resizable windows with most examples 2025-10-07 15:33:10 -04:00
onmouseover.webp examples: Improve webpage generation in various ways, add thumbnails, etc. 2024-12-05 23:58:23 -05:00
README.txt Use PNG files for tests and examples 2025-10-06 16:45:53 -07:00
thumbnail.png examples: Improve webpage generation in various ways, add thumbnails, etc. 2024-12-05 23:58:23 -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.