Feature #60 ยป 0030-sdl3-Replace-SDL_SetColorKey-call-with-SDL_SetSurfac.patch
client/gui-sdl3/gui_string.c | ||
---|---|---|
case 1:
|
||
text = create_surf(w, count * tmp[0]->h, SDL_SWSURFACE);
|
||
SDL_FillSurfaceRect(text, NULL, color);
|
||
SDL_SetColorKey(text, SDL_TRUE, color);
|
||
SDL_SetSurfaceColorKey(text, SDL_TRUE, color);
|
||
break;
|
||
case 2:
|
||
text = create_surf_with_format(tmp[0]->format,
|