minor fixes for MacOS

This commit is contained in:
Thomas BERNARD
2019-07-13 17:41:21 +02:00
committed by Thomas Bernard
parent 74fd2c8584
commit 9a084bca66
2 changed files with 12 additions and 8 deletions

View File

@@ -360,7 +360,7 @@ void Init_text(void)
#elif defined(__macosx__)
// Récupération de la liste des fonts avec fontconfig
#ifndef NOTTF
{
int i,number;
char * home_dir = NULL;
@@ -383,6 +383,7 @@ void Init_text(void)
free(home_dir);
//CFRelease(url);
}
#endif
#elif defined(__CAANOO__) || defined(__WIZ__) || defined(__GP2X__)
@@ -805,4 +806,4 @@ byte *Render_text(const char *str, int font_number, int size, int antialias, int
{
return Render_text_SFont(str, font_number, width, height, palette);
}
}
}