Petites fonctions pour gérer l’affichage d’images avec la SDL2. Un sprite est ici une texture avec sa largeur et sa hauteur. Il y a des fonctions pour afficher un sprite (ou une partie d’une sprite) à une position donnée, avec un coefficient de redimensionnement, ou en plein écran.
Le fichier main.c
contient un test.