Proper screen update on zoomed fill
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@78 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
1f15bfbc3f
commit
d40d948c78
5
divers.c
5
divers.c
@ -497,11 +497,6 @@ void Remplacer_toutes_les_couleurs_dans_limites(byte * Table_de_remplacement)
|
||||
|
||||
byte Ancien;
|
||||
|
||||
DEBUG("Haut",Limite_Haut);
|
||||
DEBUG("Bas",Limite_Bas);
|
||||
DEBUG("Gauche",Limite_Gauche);
|
||||
DEBUG("Droite",Limite_Droite);
|
||||
|
||||
// Pour chaque ligne :
|
||||
for(Ligne = Limite_Haut;Ligne <= Limite_Bas; Ligne++)
|
||||
{
|
||||
|
||||
2
graph.c
2
graph.c
@ -3918,6 +3918,8 @@ void Remplir(byte Couleur_de_remplissage)
|
||||
// puisque les seuls points qui ont changé dans l'image ont été raffichés
|
||||
// par l'utilisation de "Afficher_pixel()", et que les autres... eh bein
|
||||
// on n'y a jamais touché à l'écran les autres: ils sont donc corrects.
|
||||
|
||||
SDL_UpdateRect(Ecran_SDL,0,0,0,0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user