blob: 48c9f1fed37ee865e75f2d6dea6b87b6f1deaadb (
plain)
1
2
3
4
5
|
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.
|