test/testintersections.c
changeset 7787 e6f3e8fc96ea
parent 7639 9406b7dd2f2d
child 8149 681eb46b8ac4
     1.1 --- a/test/testintersections.c	Sat Oct 05 17:08:19 2013 +0200
     1.2 +++ b/test/testintersections.c	Sat Oct 05 19:09:03 2013 -0700
     1.3 @@ -310,6 +310,8 @@
     1.4          }
     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, 0xA0, 0xA0, 0xA0, 0xFF);
    1.10              SDL_RenderClear(renderer);
    1.11