test/testrendertarget.c
changeset 7787 e6f3e8fc96ea
parent 7781 3023b0270c94
child 8149 681eb46b8ac4
     1.1 --- a/test/testrendertarget.c	Sat Oct 05 17:08:19 2013 +0200
     1.2 +++ b/test/testrendertarget.c	Sat Oct 05 19:09:03 2013 -0700
     1.3 @@ -285,6 +285,8 @@
     1.4              SDLTest_CommonEvent(state, &event, &done);
     1.5          }
     1.6          for (i = 0; i < state->num_windows; ++i) {
     1.7 +            if (state->windows[i] == NULL)
     1.8 +                continue;
     1.9              if (test_composite) {
    1.10                  if (!DrawComposite(&drawstates[i])) done = 1;
    1.11              } else {