Log font rendering backend only once (#13371)

This commit is contained in:
Tony 2021-12-17 17:05:32 +02:00 committed by GitHub
parent 6c123dd078
commit 2c7d2bcc18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,8 +67,9 @@ int font_renderer_create_default(
*handle = font_backends[i]->init(path, font_size);
if (*handle)
{
RARCH_LOG("[Font]: Using font rendering backend: \"%s\".\n",
font_backends[i]->ident);
if (!video_font_driver)
RARCH_LOG("[Font]: Using font rendering backend: \"%s\".\n",
font_backends[i]->ident);
*drv = font_backends[i];
return 1;
}