Recovering fonts after recovering progressbar.

This commit is contained in:
Pere Pujal i Carabantes 2015-05-11 20:12:03 +02:00
parent 58d202d275
commit 9adbd1e261
3 changed files with 9 additions and 1 deletions

View file

@ -263,6 +263,8 @@ int compare_ftw_str(const void *v1, const void *v2)
void tp_ftw(SDL_Surface * screen, SDL_Texture * texture, SDL_Renderer * renderer, char *restrict const dir, unsigned dirlen,
int rsrc, void (*fn) (SDL_Surface * screen,
SDL_Texture * texture,
SDL_Renderer * renderer,
const char *restrict const dir,
unsigned dirlen, tp_ftw_str * files,
unsigned count, const char *restrict const locale),
@ -390,7 +392,7 @@ void tp_ftw(SDL_Surface * screen, SDL_Texture * texture, SDL_Renderer * renderer
}
free(file_names);
#else
fn(screen, dir, dirlen, file_names, num_file_names, locale);
fn(screen, texture, renderer, dir, dirlen, file_names, num_file_names, locale);
#endif
}