bfnt_puts doesn't print bg

Issue #1577 new
pravdomil created an issue

bfnt_puts(str, pos_x, pos_y, COLOR_RED, COLOR_GREEN1);
this will not print RED text on GREEN bg, but only RED text, thats why flexinfo is not working properly

Comments (9)

  1. Giovanni Nanomad Condello

    @a1ex There's a commented out bmp_fill call that fills the background in bfnt_draw_char.

    Seems to be working fine here. Maybe it was a left-over from another bugfix?

  2. pravdomil reporter

    but I should be

    if(bg != 0)bmp_fill(bg, px, py, crw+xo+3, 40);
    

    0 = COLOR_EMPTY = transparent

    wait for what a1ex says

  3. Log in to comment