mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-21 20:28:28 +00:00
.. | ||
cliprect.c | ||
onmouseover.webp | ||
README.txt | ||
thumbnail.png |
This example creates an SDL window and renderer, loads a texture from a .bmp 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.