Removes a call to Wait_VBL and replaces it by SDL_Delay
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@478 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
dc4abe6245
commit
1b3489bb96
3
main.c
3
main.c
@ -98,8 +98,7 @@ void Erreur_fonction(int Code, const char *Nom_fichier, int Numero_ligne, const
|
|||||||
for (Indice=0;Indice<=255;Indice++)
|
for (Indice=0;Indice<=255;Indice++)
|
||||||
Palette_temporaire[Indice].R=255;
|
Palette_temporaire[Indice].R=255;
|
||||||
Set_palette(Palette_temporaire);
|
Set_palette(Palette_temporaire);
|
||||||
for (Indice=0;Indice<10;Indice++)
|
SDL_Delay(500);
|
||||||
Wait_VBL();
|
|
||||||
Set_palette(Principal_Palette);
|
Set_palette(Principal_Palette);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user