Key alpha (render) set alph component at '1' for sky... this is an old
convention from NeoGeo days, and I have absolutely no clue whatfor...
maybe for some antique amiga iff format or so. Made it zero now.
This commit is contained in:
2004-05-29 17:33:30 +00:00
parent 690a430bcb
commit d2dbc96b81

View File

@@ -247,7 +247,7 @@ void scanlinesky(char *rect, int y)
if(R.r.alphamode & R_ALPHAKEY) {
cp= (char *)&col;
cp[3]= 1;
cp[3]= 0;
cp[0]= 255.0*R.wrld.horr;
cp[1]= 255.0*R.wrld.horg;
cp[2]= 255.0*R.wrld.horb;