src/video/SDL_bmp.c
branchSDL-1.2
changeset 12722 33940ce0a0ba
parent 12646 4646533663ae
child 12831 f1f5878be5db
equal deleted inserted replaced
12721:0c327f0edd70 12722:33940ce0a0ba
   220 					break;
   220 					break;
   221 				default:
   221 				default:
   222 					break;
   222 					break;
   223 			}
   223 			}
   224 			break;
   224 			break;
   225 		case 2:
       
   226 		case 3:
       
   227 		case 5:
       
   228 		case 6:
       
   229 		case 7:
       
   230 			SDL_SetError("%d-bpp BMP images are not supported", biBitCount);
       
   231 			was_error = SDL_TRUE;
       
   232 			goto done;
       
   233 		default:
   225 		default:
   234 			SDL_SetError("Compressed BMP files not supported");
   226 			SDL_SetError("Compressed BMP files not supported");
   235 			was_error = SDL_TRUE;
   227 			was_error = SDL_TRUE;
   236 			goto done;
   228 			goto done;
   237 	}
   229 	}