Add title updating to VG driver

This commit is contained in:
ToadKing 2012-12-28 22:30:37 -05:00
parent e3a0668f55
commit 91bd77f695

View File

@ -99,6 +99,7 @@ static void *vg_init(const video_info_t *video, const input_driver_t **input, vo
RARCH_LOG("Detecting screen resolution %ux%u.\n", vg->mScreenWidth, vg->mScreenHeight);
vg->driver->swap_interval(video->vsync ? 1 : 0);
vg->driver->update_window_title(true);
vg->mTexType = video->rgb32 ? VG_sXRGB_8888 : VG_sRGB_565;
vg->mKeepAspect = video->force_aspect;
@ -386,6 +387,8 @@ static bool vg_frame(void *data, const void *frame, unsigned width, unsigned hei
if (msg && vg->mFontsOn)
vg_draw_message(vg, msg);
vg->driver->update_window_title(false);
RARCH_PERFORMANCE_STOP(vg_fr);
vg->driver->swap_buffers();