From b7d614aa0d910a9e426bd1bd81755e43bc95214f Mon Sep 17 00:00:00 2001 From: James Ross-Gowan Date: Wed, 25 Nov 2015 22:07:22 +1100 Subject: vo_opengl: win32: test for exclusive mode 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. --- wscript_build.py | 1 + 1 file changed, 1 insertion(+) (limited to 'wscript_build.py') diff --git a/wscript_build.py b/wscript_build.py index 6829554c17..dedd6e2212 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -357,6 +357,7 @@ def build(ctx): ( "video/out/vo_xv.c", "xv" ), ( "video/out/w32_common.c", "win32" ), ( "video/out/win32/displayconfig.c", "win32" ), + ( "video/out/win32/exclusive_hack.c", "gl-win32" ), ( "video/out/wayland_common.c", "wayland" ), ( "video/out/wayland/buffer.c", "wayland" ), ( "video/out/wayland/memfile.c", "wayland" ), -- cgit v1.2.3