minor fixes for MacOS
This commit is contained in:
committed by
Thomas Bernard
parent
74fd2c8584
commit
9a084bca66
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user