unfixed Attendre_fin_de_click, works better when buggy in fact :D
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@482 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
4
divers.c
4
divers.c
@@ -101,7 +101,9 @@ void Attendre_fin_de_click(void)
|
||||
|
||||
//On attend que l'utilisateur relache la souris. Tous les autres évènements
|
||||
//sont ignorés
|
||||
while(SDL_WaitEvent(&event))
|
||||
while(SDL_PollEvent(&event)) // ça devrait être un Wait_event, mais ça foire méchament
|
||||
// 1 ça bloque le prog complètement
|
||||
// 2 ça marche pas quand on appuie sur espace
|
||||
{
|
||||
Gere_Evenement_SDL(&event);
|
||||
if (event.type == SDL_MOUSEBUTTONUP)
|
||||
|
||||
Reference in New Issue
Block a user