Hi,
TuxMath does not render texts in menus nor in game. It seems a problem with SDL.
I've submitted a fix to address it here:
I am no expert in SDL: the only thing I've done is return white_letters instead of bg in T4K_BlackOutline:
|
SDL_BlitSurface(white_letters, NULL, bg, &dstrect); |
|
SDL_FreeSurface(white_letters); |
|
|
|
/* --- Convert to the screen format for quicker blits --- */ |
|
SDL_SetColorKey(bg, SDL_SRCCOLORKEY|SDL_RLEACCEL, color_key); |
|
out = SDL_DisplayFormatAlpha(bg); |
|
SDL_FreeSurface(bg); |
|
|
|
DEBUGMSG(debug_sdl, "\nLeaving T4K_BlackOutline(): \n"); |
|
|
|
return out; |
Best!!
Hi,
TuxMath does not render texts in menus nor in game. It seems a problem with SDL.
I've submitted a fix to address it here:
I am no expert in SDL: the only thing I've done is return
white_lettersinstead ofbginT4K_BlackOutline:t4kcommon/src/t4k_sdl.c
Lines 1444 to 1454 in f36ec17
Best!!