removed screen refreshing in the block drawing function and made the needed update in windows display. Should be a lot faster, but i may have missed some screen updates.
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@205 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
3
aide.c
3
aide.c
@@ -139,6 +139,8 @@ void Bouton_Aide(void)
|
||||
|
||||
Afficher_aide();
|
||||
|
||||
SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X,Fenetre_Pos_Y,310*Menu_Facteur_X,175*Menu_Facteur_Y);
|
||||
|
||||
Afficher_curseur();
|
||||
|
||||
do
|
||||
@@ -326,6 +328,7 @@ void Bouton_Stats(void)
|
||||
else
|
||||
Print_dans_fenetre(106,115,"* No VESA support *",STATS_COULEUR_DONNEES,CM_Noir);
|
||||
|
||||
SDL_UpdateRect(Ecran_SDL,Fenetre_Pos_X,Fenetre_Pos_Y,Menu_Facteur_X*310,Menu_Facteur_Y*174);
|
||||
|
||||
Afficher_curseur();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user