Xcode-iOS/Demos/src/accelerometer.c
changeset 7880 b8d30d14d535
parent 7861 29d012c8f2a9
child 10138 4a8b649fee5b
equal deleted inserted replaced
7879:cee8a400dc51 7880:b8d30d14d535
   172     }
   172     }
   173 
   173 
   174     /* create main window and renderer */
   174     /* create main window and renderer */
   175     window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
   175     window = SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
   176                                 SDL_WINDOW_OPENGL |
   176                                 SDL_WINDOW_OPENGL |
   177                                 SDL_WINDOW_BORDERLESS);
   177                                 SDL_WINDOW_FULLSCREEN);
   178     renderer = SDL_CreateRenderer(window, 0, 0);
   178     renderer = SDL_CreateRenderer(window, 0, 0);
   179     
   179     
   180     SDL_GetWindowSize(window, &w, &h);
   180     SDL_GetWindowSize(window, &w, &h);
   181 
   181 
   182     /* print out some info about joysticks and try to open accelerometer for use */
   182     /* print out some info about joysticks and try to open accelerometer for use */