Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Date: Sat, 7 Feb 2004 13:26:01 +0100
From: delq Subject: Re: [SDL] better ILBM support for SDL_Image - fixed reading of colorkeyed images (they were previously assumed to have a stencil bitplane, but since the body didn't have it, the decoding failed). Added a missing call to SDL_SetColorKey() too. - fixed colormap for images with a stencil (mask) bitplane. Those images can have say 7+1 bitplanes but only 128 colors defined. In that case, the end of the SDL_Image colormap was uninitialized, resulting in garbled surfaces.
- Loading branch information
Showing
1 changed file
with
18 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters