mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
commit
b47ebfa713
5
gfx/vg.c
5
gfx/vg.c
@ -25,11 +25,8 @@
|
||||
#include "../general.h"
|
||||
#include "../driver.h"
|
||||
#include "../performance.h"
|
||||
|
||||
#ifdef HAVE_FREETYPE
|
||||
#include "fonts/fonts.h"
|
||||
#include "../file.h"
|
||||
#endif
|
||||
|
||||
typedef struct
|
||||
{
|
||||
@ -146,7 +143,7 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo
|
||||
{
|
||||
vg->mFontsOn = true;
|
||||
|
||||
vg->mFontHeight = g_settings.video.font_size * (g_settings.video.font_scale ? (float) vg->mScreenWidth / 1280.0f : 1.0f);
|
||||
vg->mFontHeight = g_settings.video.font_size;
|
||||
|
||||
vg->mPaintFg = vgCreatePaint();
|
||||
vg->mPaintBg = vgCreatePaint();
|
||||
|
Loading…
x
Reference in New Issue
Block a user