Open Maxs1789 opened 9 years ago
When creating a text_surface with a bitmap font, the color of the text isn't applied.
text_surface
This could be easily done with the ColorMod of SDL. (SDL_SetSurfaceColorMod)
ColorMod
Why not. It would work with completely white bitmap fonts, but also even with fonts like https://github.com/christopho/solarus/blob/master/sample_quest/data/fonts/8_bit.png.
When creating a
text_surface
with a bitmap font, the color of the text isn't applied.This could be easily done with the
ColorMod
of SDL. (SDL_SetSurfaceColorMod)