fix text_freeFontCache prototype

This commit is contained in:
JamilHajjar committed 2023-01-20 21:52:54 +01:00
1 parent abc59e4fb7
commit efdbc0c6fb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ typedef struct FontCacheObject {
FontCacheObject_t fontCache[FONT_CACHE_SIZE];
unsigned fontCacheSize = 0;
void text_freeFontCache(){
void text_freeFontCache(void){
for(unsigned i = 0; i < fontCacheSize; ++i){
free(fontCache[i].file);
TTF_CloseFont(fontCache[i].font);
+1 -1
View File
@@ -13,6 +13,6 @@ typedef struct {
int text_renderText(RenderObject_t* renderObject, Position position, SDL_Color color, const char* fontFilename, int fontSize, char* format, ...);
void text_freeFontCache();
void text_freeFontCache(void);
#endif