test/testrendercopyex.c
changeset 7787 e6f3e8fc96ea
parent 7678 286c42d7c5ed
child 8149 681eb46b8ac4
equal deleted inserted replaced
7786:cfc1285375e1 7787:e6f3e8fc96ea
   186         ++frames;
   186         ++frames;
   187         while (SDL_PollEvent(&event)) {
   187         while (SDL_PollEvent(&event)) {
   188             SDLTest_CommonEvent(state, &event, &done);
   188             SDLTest_CommonEvent(state, &event, &done);
   189         }
   189         }
   190         for (i = 0; i < state->num_windows; ++i) {
   190         for (i = 0; i < state->num_windows; ++i) {
       
   191             if (state->windows[i] == NULL)
       
   192                 continue;
   191             Draw(&drawstates[i]);
   193             Draw(&drawstates[i]);
   192         }
   194         }
   193     }
   195     }
   194 
   196 
   195     /* Print out some timing information */
   197     /* Print out some timing information */