summaryrefslogtreecommitdiffstats
path: root/video/out/win32/exclusive_hack.h
Commit message (Collapse)AuthorAgeFilesLines
* vo_opengl: win32: test for exclusive modeJames Ross-Gowan2015-11-261-0/+26
This is a hack, but unfortunately the DwmGetCompositionTimingInfo heuristic does not work in all cases (with multiple-monitors on Windows 8.1 and even with a single monitor in Windows 10.) See the comment in mp_w32_is_in_exclusive_mode() for more details. It should go without saying that if any better method of doing this reveals itself, this hack should be dropped.