comparison libvo/vo_fbdev.c @ 364:071c81d79b71

-fbdepth fix
author szabii
date Wed, 11 Apr 2001 21:48:30 +0000
parents f02474901080
children 1e7dba55717f
comparison
equal deleted inserted replaced
363:f02474901080 364:071c81d79b71
452 } 452 }
453 fb_switch_mode = 1; 453 fb_switch_mode = 1;
454 } else if (fb_mode_depth) { 454 } else if (fb_mode_depth) {
455 printf("fb_init: Do _not_ use the 'fbdepth' parameter! " 455 printf("fb_init: Do _not_ use the 'fbdepth' parameter! "
456 "this parameter will be removed\n"); 456 "this parameter will be removed\n");
457 if (fb_mode_depth != 15 || fb_mode_depth != 16 || 457 if (fb_mode_depth != 15 && fb_mode_depth != 16 &&
458 fb_mode_depth != 24 || fb_mode_depth != 32) { 458 fb_mode_depth != 24 && fb_mode_depth != 32) {
459 printf("fb_init: can't switch to %d bpp\n", fb_mode_depth); 459 printf("fb_init: can't switch to %d bpp\n", fb_mode_depth);
460 return 1; 460 return 1;
461 } 461 }
462 } 462 }
463 463