Mercurial > sdl-ios-xcode
view test/automated/platform/platform.h @ 5115:686d795b1b29
When the last window is closed and the SDL_WINDOWEVENT_CLOSE event is sent, send the SDL_QUIT event.
Common.c now destroys the SDL_Window upon a SDL_WINDOWEVENT_CLOSE event to ensure that all windows get closed properly and the new code to handle the last window closes gets executed.
author | krogoway |
---|---|
date | Thu, 27 Jan 2011 15:58:30 -0600 |
parents | 0c429a5fda8a |
children |
line wrap: on
line source
/** * Part of SDL test suite. * * Written by Edgar Simo "bobbens" * * Released under Public Domain. */ #ifndef _TEST_PLATFORM # define _TEST_PLATFORM int test_platform (void); #endif /* _TEST_PLATFORM */