mirror of https://github.com/encounter/SDL.git
529664278f
norfanin Some of the tests keep using the pointers of a destroyed SDL_Window when the common event handling handled the close event. The event handler itself does not NULL the pointer after the destruction. The attached patch adds a loop in the handler that will assign NULL to the destroyed window. It also adds checks to some of the tests so they skip those windows by checking for NULL. |
||
---|---|---|
.. | ||
SDL_test_assert.c | ||
SDL_test_common.c | ||
SDL_test_compare.c | ||
SDL_test_crc32.c | ||
SDL_test_font.c | ||
SDL_test_fuzzer.c | ||
SDL_test_harness.c | ||
SDL_test_imageBlit.c | ||
SDL_test_imageBlitBlend.c | ||
SDL_test_imageFace.c | ||
SDL_test_imagePrimitives.c | ||
SDL_test_imagePrimitivesBlend.c | ||
SDL_test_log.c | ||
SDL_test_md5.c | ||
SDL_test_random.c |