mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 09:39:56 +00:00
Commenting this out for now - this causes crashes with
toggling fullscreen in threaded video mode with the GL driver
This commit is contained in:
parent
52a55695ce
commit
4758caea74
@ -299,17 +299,21 @@ static const char *font_renderer_ft_get_default_font(void)
|
|||||||
return "";
|
return "";
|
||||||
#else
|
#else
|
||||||
size_t i;
|
size_t i;
|
||||||
|
#if 0
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
char asset_path[PATH_MAX_LENGTH];
|
char asset_path[PATH_MAX_LENGTH];
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
|
for (i = 0; i < ARRAY_SIZE(font_paths); i++)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
/* Check if we are getting the font from the assets directory. */
|
/* Check if we are getting the font from the assets directory. */
|
||||||
if (string_is_equal(font_paths[i], "assets://pkg/osd-font.ttf"))
|
if (string_is_equal(font_paths[i], "assets://pkg/osd-font.ttf"))
|
||||||
{
|
{
|
||||||
fill_pathname_join(asset_path, settings->paths.directory_assets, "pkg/osd-font.ttf", PATH_MAX_LENGTH);
|
fill_pathname_join(asset_path, settings->paths.directory_assets, "pkg/osd-font.ttf", PATH_MAX_LENGTH);
|
||||||
font_paths[i] = asset_path;
|
font_paths[i] = asset_path;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (filestream_exists(font_paths[i]))
|
if (filestream_exists(font_paths[i]))
|
||||||
return font_paths[i];
|
return font_paths[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user