[lib][gfx][mandelbrot] make sure alpha channel is set

stm32f7 discovery board apparently requires the alpha channel to be set.
This commit is contained in:
Travis Geiselbrecht
2019-06-10 17:09:25 -07:00
parent 75b312b30b
commit 2e417c0488

View File

@@ -799,11 +799,11 @@ static int gfx_draw_mandlebrot(gfx_surface * surface){
} else {
color = 0x231AF9 * iter;
}
gfx_putpixel(surface, x, y, color);
gfx_putpixel(surface, x, y, 0xff << 24 | color);
}
ci = ci + dy;
}
return 0;
}