summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context_win.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/context_win.c')
-rw-r--r--video/out/opengl/context_win.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/video/out/opengl/context_win.c b/video/out/opengl/context_win.c
index e650867feb..5a0042b3e9 100644
--- a/video/out/opengl/context_win.c
+++ b/video/out/opengl/context_win.c
@@ -21,7 +21,6 @@
#include "options/m_config.h"
#include "video/out/w32_common.h"
-#include "video/out/win32/exclusive_hack.h"
#include "context.h"
#include "utils.h"
@@ -237,11 +236,6 @@ static bool compositor_active(struct ra_ctx *ctx)
if (FAILED(DwmGetCompositionTimingInfo(0, &info)))
return false;
- // Test if a program is running in exclusive fullscreen mode. If so, it's
- // probably this one, so it's not getting redirected by the compositor.
- if (mp_w32_is_in_exclusive_mode())
- return false;
-
return true;
}