Lines Matching refs:modes
390 SDL_Rect **modes;
410 /* Print available fullscreen video modes */
411 modes = SDL_ListModes(NULL, SDL_FULLSCREEN);
412 if ( modes == (SDL_Rect **)0 ) {
413 printf("No available fullscreen video modes\n");
415 if ( modes == (SDL_Rect **)-1 ) {
416 printf("No special fullscreen video modes\n");
418 printf("Fullscreen video modes:\n");
419 for ( i=0; modes[i]; ++i ) {
420 printf("\t%dx%dx%d\n", modes[i]->w, modes[i]->h, info->vfmt->BitsPerPixel);