comparison test/common.c @ 3373:5dc34052ee6c

Revert back. Sorry.
author Mike Gorchak <lestat@i.com.ua>
date Sat, 10 Oct 2009 17:07:49 +0000
parents 3e0f51e60fa2
children 45f140dd4b08
comparison
equal deleted inserted replaced
3372:dd11d2376e27 3373:5dc34052ee6c
1020 } 1020 }
1021 if (state->flags & SDL_INIT_AUDIO) { 1021 if (state->flags & SDL_INIT_AUDIO) {
1022 SDL_AudioQuit(); 1022 SDL_AudioQuit();
1023 } 1023 }
1024 if (state->windows) { 1024 if (state->windows) {
1025 int it;
1026
1027 for (it=0; it<state->num_windows; it++)
1028 {
1029 SDL_DestroyWindow(state->windows[it]);
1030 }
1031 SDL_free(state->windows); 1025 SDL_free(state->windows);
1032 } 1026 }
1033 SDL_free(state); 1027 SDL_free(state);
1034 } 1028 }