forked from Green-Sky/tomato
update sdl Merge commit '644725478f4de0f074a6834e8423ac36dce3974f'
This commit is contained in:
9
external/sdl/SDL/test/testshape.c
vendored
9
external/sdl/SDL/test/testshape.c
vendored
@ -388,6 +388,15 @@ ret:
|
||||
/* Destroy the window. */
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
if (g_bitmap) {
|
||||
SDL_free(g_bitmap);
|
||||
g_bitmap = NULL;
|
||||
}
|
||||
if (g_shape_surface) {
|
||||
SDL_DestroySurface(g_shape_surface);
|
||||
g_shape_surface = NULL;
|
||||
}
|
||||
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
|
||||
|
Reference in New Issue
Block a user