Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before, cursor images were converted to 16 bpp, and anything that was the same as the first color in PAL_PIXELS[] was made transparent. Now, cursors images are drawn as 8 bpp with a cursor palette created from PAL_PIXELS[]. This preserves all the black parts of the cursor that weren't actually color index 0. It would be nice if we only regenerated the cursor/palette when they have actually changed, but that's for later.
- Loading branch information
Torbjörn Andersson
committed
Feb 10, 2013
1 parent
2044a71
commit f645600
Showing
1 changed file
with
15 additions
and
18 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