Fix for non-alpha 32bpp image StampFill

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1980 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
avolkov
2005-11-10 03:52:47 +00:00
parent 20c2271837
commit ff9efd2182
+1 -1
View File
@@ -172,7 +172,7 @@ TFB_DrawCanvas_Fill (TFB_Canvas source, int width, int height,
{ {
Uint32 p = *src_p & notmask; Uint32 p = *src_p & notmask;
*dst_p = (p == srckey) ? dstkey : p; *dst_p = (p == srckey) ? dstkey : fillcolor;
} }
dst_p += ddst; dst_p += ddst;
src_p += dsrc; src_p += dsrc;