test/testrendercopyex.c
changeset 8851 a7cfe554d337
parent 8833 ae720d61d14d
child 9278 8900afb78a19
equal deleted inserted replaced
8850:7e248a233387 8851:a7cfe554d337
   159     }
   159     }
   160     if (!SDLTest_CommonInit(state)) {
   160     if (!SDLTest_CommonInit(state)) {
   161         quit(2);
   161         quit(2);
   162     }
   162     }
   163 
   163 
   164 #if __NACL__
       
   165     SDL_RWUmount("/");
       
   166     SDL_RWMount(
       
   167         "",  /* source */
       
   168         "/",  /* target */
       
   169         "httpfs",  /* filesystemtype */
       
   170         0,  /* mountflags */
       
   171         "");  /* data specific to the html5fs type */
       
   172 #endif    
       
   173     
       
   174     drawstates = SDL_stack_alloc(DrawState, state->num_windows);
   164     drawstates = SDL_stack_alloc(DrawState, state->num_windows);
   175     for (i = 0; i < state->num_windows; ++i) {
   165     for (i = 0; i < state->num_windows; ++i) {
   176         DrawState *drawstate = &drawstates[i];
   166         DrawState *drawstate = &drawstates[i];
   177 
   167 
   178         drawstate->window = state->windows[i];
   168         drawstate->window = state->windows[i];