Mercurial > sdl-ios-xcode
annotate .cvsignore @ 1543:98f9b16f565c
From: "Alex Volkov"
Date: Thu, 10 Nov 2005 21:53:40 -0500
Subject: [SDL] BUG[?]: 32bpp RGBA->RGB colorkey blit, no SDL_SRCALPHA
It seems there is either a documentation vs. reality mismatch or a real bug
in SDL_blit_N.c:BlitNtoNKey().
The exact blit in question is a 32bpp RGBA->RGB, where RGBA has SDL_COLORKEY
and *no* SDL_SRCALPHA flags. The doc in SDL_video.h states:
* RGBA->RGB:
* SDL_SRCALPHA not set:
* copy RGB.
* if SDL_SRCCOLORKEY set, only copy the pixels matching the
* RGB values of the source colour key, ignoring alpha in the
* comparison.
BlitNtoNKey(), however, forgets to "ignore alpha in the comparison". The
documentation makes perfect sense, so I think it is the code that is faulty.
The attached patch corrects the code.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Wed, 15 Mar 2006 15:43:15 +0000 |
parents | 93c48ff6d41f |
children | b70cce8d7f62 |
rev | line source |
---|---|
0 | 1 aclocal.m4 |
1015
9454950842ae
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1001
diff
changeset
|
2 autom4te* |
0 | 3 config.cache |
1015
9454950842ae
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1001
diff
changeset
|
4 config.log |
9454950842ae
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1001
diff
changeset
|
5 config.status |
9454950842ae
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1001
diff
changeset
|
6 configure |
0 | 7 libtool |
8 Makefile | |
9 sdl-config | |
10 SDL.spec | |
703
ca809c1b41ca
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
596
diff
changeset
|
11 SDL.qpg |
1404
6f6c8ac0db15
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
12 build |
1410
93c48ff6d41f
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1404
diff
changeset
|
13 build-deps |
596
475f969e8c01
CVS should ignore files automatically generated by building on MacOS X
Sam Lantinga <slouken@libsdl.org>
parents:
0
diff
changeset
|
14 .DS_Store |