diff --git a/src/org/recompile/mobile/PlatformGraphics.java b/src/org/recompile/mobile/PlatformGraphics.java index 3c95420a..65d25d1f 100644 --- a/src/org/recompile/mobile/PlatformGraphics.java +++ b/src/org/recompile/mobile/PlatformGraphics.java @@ -708,7 +708,7 @@ public void drawPixels(short[] pixels, boolean transparency, int offset, int sca { int index = offset + (col) + (row * scanlength); data[row * width + col] = pixelToColor(pixels[index], format); - if (!transparency) { data[row * width + col] &= 0x00FFFFFF; } // Clear the alpha channel + if (!transparency) { data[row * width + col] = (data[row * width + col] & 0x00FFFFFF) | 0xFF000000; } // Set alpha to 255 } }