Mercurial > sdl-ios-xcode
view test/automated/platform/platform.h @ 4897:c3eb55210a90
SDL_DestroyWindow is setting window->magic to NULL too early. -
window->magic is also checked in SDL_DestroyRenderer. All cleanup code
like freeing the renderer and textures is not executed.
The patch moves window_magic = NULL behind the SDL_DestroyRenderer call.
Kind regards,
André
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 27 Sep 2010 00:49:34 -0700 |
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 */