Throw a FIXME in there, we'll need to take care of this later.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403522
This commit is contained in:
Sam Lantinga 2009-02-09 06:15:06 +00:00
parent 2aab251e38
commit be79fbf0ec

View file

@ -1598,6 +1598,7 @@ SDL_CreateTextureFromSurface(Uint32 format, SDL_Surface * surface)
return 0; return 0;
} }
} else { } else {
/* FIXME: Get the best supported texture format */
if (surface->format->Amask if (surface->format->Amask
|| !(surface->map->info.flags & || !(surface->map->info.flags &
(SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) { (SDL_COPY_COLORKEY | SDL_COPY_MASK | SDL_COPY_BLEND))) {