test/testrendercopyex.c
changeset 7787 e6f3e8fc96ea
parent 7678 286c42d7c5ed
child 8149 681eb46b8ac4
     1.1 --- a/test/testrendercopyex.c	Sat Oct 05 17:08:19 2013 +0200
     1.2 +++ b/test/testrendercopyex.c	Sat Oct 05 19:09:03 2013 -0700
     1.3 @@ -188,6 +188,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              Draw(&drawstates[i]);
    1.10          }
    1.11      }