mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-13 05:16:55 +00:00
Add title updating to VG driver
This commit is contained in:
parent
e3a0668f55
commit
91bd77f695
3
gfx/vg.c
3
gfx/vg.c
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user