Refactored the "#ifndef __macosx__" that were around every SDL_UpdateRect().
Redraw method is now defined once, in sdlscreen.c git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@266 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include "erreurs.h"
|
||||
#include "linux.h"
|
||||
#include "io.h"
|
||||
#include "sdlscreen.h"
|
||||
|
||||
#define FILENAMESPACE 13
|
||||
|
||||
@@ -331,12 +332,10 @@ void Dessiner_preview_palette(void)
|
||||
Preview_Pos_Y+(((Indice&15)*5)*Menu_Facteur_Y),
|
||||
5*Menu_Facteur_X,5*Menu_Facteur_Y,Indice);
|
||||
|
||||
#ifndef __macosx__
|
||||
SDL_UpdateRect(Ecran_SDL,
|
||||
UpdateRect(
|
||||
Preview_Pos_X*Menu_Facteur_X,
|
||||
Preview_Pos_Y*Menu_Facteur_Y,
|
||||
5*Menu_Facteur_X*256,5*Menu_Facteur_Y*256);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user