src/video/uikit/SDL_uikitvideo.m
changeset 3547 8b18669c2663
parent 2859 99210400e8b9
child 3643 41253c0fa9b3
equal deleted inserted replaced
3546:65848493e08e 3547:8b18669c2663
   121 	display.max_display_modes = 1;
   121 	display.max_display_modes = 1;
   122 	display.display_modes = (SDL_DisplayMode *)SDL_malloc(display.max_display_modes * sizeof(SDL_DisplayMode));
   122 	display.display_modes = (SDL_DisplayMode *)SDL_malloc(display.max_display_modes * sizeof(SDL_DisplayMode));
   123 	
   123 	
   124 	display.display_modes[0] = mode;
   124 	display.display_modes[0] = mode;
   125 	display.desktop_mode = mode;
   125 	display.desktop_mode = mode;
   126 	display.fullscreen_mode = mode;
       
   127 	display.current_mode = mode;
   126 	display.current_mode = mode;
   128 		
   127 		
   129 	SDL_AddVideoDisplay(&display);
   128 	SDL_AddVideoDisplay(&display);
   130 
   129 
   131     /* We're done! */
   130     /* We're done! */