1446Fermer1448
FarewellLe 20/05/2010 à 22:07
Ok, j'ai écrit ça de mon côté et ça marche :
void mouseWaitButtonRelease()
{
    while (1)
    {
        SDL_PollEvent(&events);
        if (events.type == SDL_MOUSEBUTTONUP)
            break;
    }
}

Mais t'as raison, c'est bloquant. Je vais faire beaucoup plus simple. smile