1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-01 16:13:40 +00:00

Merge pull request from hhromic/fix-stats-dpy

Fix audio/video statistics display flickering in certain Windows platforms
This commit is contained in:
Autechre 2020-07-31 11:37:48 +02:00 committed by GitHub
commit 0c7ee3d573
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1143,6 +1143,12 @@ typedef struct video_frame_info
int crt_switch_center_adjust;
int crt_switch_porch_adjust;
/* TODO/FIXME - nasty hack needed for struct misalignment in Windows X64 -
* otherwise the audio/video statistics display glitches after the recent
* addition of the above 'crt_switch_porch_adjust' member
*/
char placeholder;
unsigned hard_sync_frames;
unsigned aspect_ratio_idx;
unsigned max_swapchain_images;