test/testime.c
changeset 7787 e6f3e8fc96ea
parent 7721 bdf8c2c84e14
child 8149 681eb46b8ac4
     1.1 --- a/test/testime.c	Sat Oct 05 17:08:19 2013 +0200
     1.2 +++ b/test/testime.c	Sat Oct 05 19:09:03 2013 -0700
     1.3 @@ -196,6 +196,8 @@
     1.4      int i;
     1.5      for (i = 0; i < state->num_windows; ++i) {
     1.6          SDL_Renderer *renderer = state->renderers[i];
     1.7 +        if (state->windows[i] == NULL)
     1.8 +            continue;
     1.9          SDL_SetRenderDrawColor(renderer, 0, 0, 0, 0);
    1.10          SDL_RenderClear(renderer);
    1.11