wait vbl, set color, and ability to compile a fullscreen build
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@92 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
@@ -419,7 +419,11 @@ void Clear_brush_zoom_SDL (word Pos_X,word Pos_Y,word Decalage_X,word Dec
|
||||
void Set_Mode_SDL()
|
||||
/* On règle la résolution de l'écran */
|
||||
{
|
||||
Ecran_SDL=SDL_SetVideoMode(Largeur_ecran,Hauteur_ecran,8,SDL_HWSURFACE/*|SDL_FULLSCREEN*/);
|
||||
#ifdef WINDOWED
|
||||
#define FLAGS
|
||||
#else
|
||||
#define FLAGS SDL_FULLSCREEN
|
||||
Ecran_SDL=SDL_SetVideoMode(Largeur_ecran,Hauteur_ecran,8,FLAGS);
|
||||
Ecran=Ecran_SDL->pixels;
|
||||
|
||||
SDL_ShowCursor(0); // Cache le curseur SDL, on le gère en soft
|
||||
|
||||
Reference in New Issue
Block a user