test/testcustomcursor.c
changeset 10195 23fb5052dab4
parent 10194 a4eb7861e89c
equal deleted inserted replaced
10194:a4eb7861e89c 10195:23fb5052dab4
   165 
   165 
   166     if (!SDLTest_CommonInit(state)) {
   166     if (!SDLTest_CommonInit(state)) {
   167         quit(2);
   167         quit(2);
   168     }
   168     }
   169 
   169 
   170 	for (i = 0; i < state->num_windows; ++i) {
   170     for (i = 0; i < state->num_windows; ++i) {
   171 		SDL_Renderer *renderer = state->renderers[i];
   171         SDL_Renderer *renderer = state->renderers[i];
   172 		SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF);
   172         SDL_SetRenderDrawColor(renderer, 0xA0, 0xA0, 0xA0, 0xFF);
   173 		SDL_RenderClear(renderer);
   173         SDL_RenderClear(renderer);
   174 	}
   174     }
   175 
   175 
   176     cursor = init_system_cursor(arrow);
   176     cursor = init_system_cursor(arrow);
   177     SDL_SetCursor(cursor);
   177     SDL_SetCursor(cursor);
   178 
   178 
   179     /* Main render loop */
   179     /* Main render loop */