From 4e6867c771a53767f9293517af8475e9d7845695 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 6 Apr 2017 13:19:22 +0200 Subject: vo_opengl: fix windows build if GLES3 is detected With the recent GLES3 header detection, and if ANGLE is in the search path, the ANGLE headers will be used over the desktop GL ones. It appears the ANGLE headers do not include , which leads to the dxinterop code to fail building. Oops. Fix this by including is dxinterop is compiled in. --- video/out/opengl/common.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'video/out/opengl') diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h index b3108d0676..258e6b30c0 100644 --- a/video/out/opengl/common.h +++ b/video/out/opengl/common.h @@ -46,6 +46,10 @@ #include #endif +#if HAVE_GL_WIN32 +#include +#endif + #define MP_GET_GL_WORKAROUNDS #include "header_fixes.h" -- cgit v1.2.3