Merge pull request #763 from rmaz/vg_fixes

VG backend fixes
This commit is contained in:
Hans-Kristian Arntzen 2014-06-17 00:12:15 +02:00
commit b47ebfa713

View File

@ -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();