Mercurial > sdl-ios-xcode
annotate test/.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 | 7b4b31075f67 |
children |
rev | line source |
---|---|
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
1 aclocal.m4 |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
2 autom4te* |
416 | 3 config.cache |
4 config.log | |
5 config.status | |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
6 configure |
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
7 Makefile |
1285
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
8 SDL.dll |
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
9 stdout.txt |
c9ae23d221ea
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1249
diff
changeset
|
10 stderr.txt |
416 | 11 checkkeys |
12 graywin | |
13 loopwave | |
14 testalpha | |
15 testbitmap | |
1249
e6a82dcdce09
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
817
diff
changeset
|
16 testblitspeed |
416 | 17 testcdrom |
1249
e6a82dcdce09
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
817
diff
changeset
|
18 testdyngl |
416 | 19 testerror |
1484
b2b476a4a73c
Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
20 testfile |
416 | 21 testgamma |
22 testgl | |
23 testhread | |
1504
7b4b31075f67
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1485
diff
changeset
|
24 testiconv |
416 | 25 testjoystick |
26 testkeys | |
27 testlock | |
28 testoverlay | |
676
8b58eeef4576
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
416
diff
changeset
|
29 testoverlay2 |
416 | 30 testpalette |
1484
b2b476a4a73c
Added documentation on how to build a completely useless SDL library. :)
Sam Lantinga <slouken@libsdl.org>
parents:
1380
diff
changeset
|
31 testplatform |
416 | 32 testsem |
33 testsprite | |
34 testtimer | |
35 testver | |
36 testvidinfo | |
37 testwin | |
38 testwm | |
1485
e507811313ee
*** empty log message ***
Sam Lantinga <slouken@libsdl.org>
parents:
1484
diff
changeset
|
39 threadwin |
1380
d94b080ff6ce
Completely removed dependency on automake
Sam Lantinga <slouken@libsdl.org>
parents:
1285
diff
changeset
|
40 torturethread |