Mercurial > sdl-ios-xcode
comparison src/video/SDL_video.c @ 3058:17c5930f498e
Throw a FIXME in there, we'll need to take care of this later.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 09 Feb 2009 06:15:06 +0000 |
parents | 089a77aebb7d |
children | 0bc41e0361d3 |
comparison
equal
deleted
inserted
replaced
3057:089a77aebb7d | 3058:17c5930f498e |
---|---|
1596 (format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { | 1596 (format, &bpp, &Rmask, &Gmask, &Bmask, &Amask)) { |
1597 SDL_SetError("Unknown pixel format"); | 1597 SDL_SetError("Unknown pixel format"); |
1598 return 0; | 1598 return 0; |
1599 } | 1599 } |
1600 } else { | 1600 } else { |
1601 /* FIXME: Get the best supported texture format */ | |
1601 if (surface->format->Amask | 1602 if (surface->format->Amask |
1602 || !(surface->map->info.flags & | 1603 || !(surface->map->info.flags & |
1603 (SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) { | 1604 (SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) { |
1604 bpp = fmt->BitsPerPixel; | 1605 bpp = fmt->BitsPerPixel; |
1605 Rmask = fmt->Rmask; | 1606 Rmask = fmt->Rmask; |