Originariamente inviato da mainframe.it
ho tolto tutti quelli in eccesso, ma non funziona lo stesso!!
cioè in pratica è come se SDL_QUIT si attivassecodice:while(!quit) { //While there's an event to handle while( SDL_PollEvent( &event ) ) { //If the user has Xed out the window if( event.type == SDL_QUIT ) { //Quit the program quit = true; } } SDL_Delay(500); }

Rispondi quotando