mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-18 07:41:45 +00:00
Error missing 'flags' initialization (see bug #2881)
This commit is contained in:
@@ -1423,6 +1423,7 @@ SDL_RLESurface(SDL_Surface * surface)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
flags = surface->map->info.flags;
|
||||||
if (flags & SDL_COPY_COLORKEY) {
|
if (flags & SDL_COPY_COLORKEY) {
|
||||||
/* ok */
|
/* ok */
|
||||||
} else if ((flags & SDL_COPY_BLEND) && surface->format->Amask) {
|
} else if ((flags & SDL_COPY_BLEND) && surface->format->Amask) {
|
||||||
|
Reference in New Issue
Block a user