better random

This commit is contained in:
Mylloon 2023-05-12 13:49:20 +02:00
parent b1f69d0539
commit a1e5ef7ec8
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

3
main.c
View file

@ -1,3 +1,4 @@
#include <time.h>
#include "includes/animations.h"
@ -38,6 +39,8 @@ static void init(void) {
fprintf(stderr, "Erreur VSync : %s\n", SDL_GetError());
}
srand((Uint32)time(NULL));
printf("Bienvenue dans la démo API8 !\n");
}