0 means transparent

This commit is contained in:
eehouse 2010-02-28 16:56:27 +00:00
parent 0fa5f5fcd5
commit 5fc86dbe3a

View file

@ -33,7 +33,7 @@ public class JNIUtilsImpl implements JNIUtils {
for ( int yy = 0; yy < height; ++yy ) {
for ( int xx = 0; xx < width; ++xx ) {
boolean pixelSet = colors[indx++];
bitmap.setPixel( xx, yy, pixelSet? 0xFF000000 : 0x00FFFFFF );
bitmap.setPixel( xx, yy, pixelSet? 0xFF000000 : 0x00 );
}
}