Bug #346 ยป 0045-sdl3-Fix-copy_surface.patch
client/gui-sdl3/graphics.c | ||
---|---|---|
{
|
||
SDL_Surface *copy = SDL_CreateSurface(src->w, src->h, src->format->format);
|
||
alphablit(src, NULL, copy, NULL, 0);
|
||
alphablit(src, NULL, copy, NULL, 255);
|
||
return copy;
|
||
}
|