Project

General

Profile

Feature #60 ยป 0030-sdl3-Replace-SDL_SetColorKey-call-with-SDL_SetSurfac.patch

Marko Lindqvist, 12/13/2023 11:23 PM

View differences:

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,
    (1-1/1)