mirror of https://github.com/libsdl-org/SDL
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 month ago | |
|---|---|---|
| .. | ||
| README.txt | 1 month ago | |
| cliprect.c | 1 month ago | |
| onmouseover.webp | 11 months ago | |
| thumbnail.png | 11 months ago | |
README.txt
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.