Mostly some cleanups.
Also added two experimetal functions, Ouvrir_popup and Fermer_popup, and started to implement a (commented) example popup menu for selecting freehand draw mode. But it seems there are problem if doing a while(Mouse_K), Mouse_K seems to be reset when the mouse moves, or in some other place. Time to sleep so i'll continue that tomorrow. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@474 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
1
graph.c
1
graph.c
@@ -282,6 +282,7 @@ void Initialiser_mode_video(int Largeur, int Hauteur, int Fullscreen)
|
||||
}
|
||||
// La largeur doit être un multiple de 4
|
||||
#ifdef __amigaos4__
|
||||
// On AmigaOS the systems adds some more constraints on that ...
|
||||
Largeur = (Largeur + 15) & 0xFFFFFFF0;
|
||||
#else
|
||||
Largeur = (Largeur + 3 ) & 0xFFFFFFFC;
|
||||
|
||||
Reference in New Issue
Block a user