src/video/SDL_surface.c
changeset 6663 2cbffb5aa19d
parent 6527 c04879cd3b57
child 6885 700f1b25f77f
equal deleted inserted replaced
6662:698c2e533a7e 6663:2cbffb5aa19d
   945             case SDL_PIXELFORMAT_IYUV:
   945             case SDL_PIXELFORMAT_IYUV:
   946             case SDL_PIXELFORMAT_YUY2:
   946             case SDL_PIXELFORMAT_YUY2:
   947             case SDL_PIXELFORMAT_UYVY:
   947             case SDL_PIXELFORMAT_UYVY:
   948             case SDL_PIXELFORMAT_YVYU:
   948             case SDL_PIXELFORMAT_YVYU:
   949                 bpp = 2;
   949                 bpp = 2;
       
   950                 break;
   950             default:
   951             default:
   951                 SDL_SetError("Unknown FOURCC pixel format");
   952                 SDL_SetError("Unknown FOURCC pixel format");
   952                 return -1;
   953                 return -1;
   953             }
   954             }
   954         } else {
   955         } else {