1 2 3
This example creates an SDL window and renderer, loads a texture from a .bmp file, and then draws it, scaling it up and down.