sdl close ev code example Example: sdl close ev SDL_Event ev; SDL_PollEvent(&ev); switch(ev.type) { case SDL_QUIT: break; }