summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Lopes <yoann.lopes@theqtcompany.com>2016-01-18 14:17:24 +0100
committerYoann Lopes <yoann.lopes@theqtcompany.com>2016-01-18 13:32:39 +0000
commit406f76b90342bfcfb982ea40a2c3141dc8556dbd (patch)
treebe09b4cbbeb07a0881ae91f6dbe34717ac339091
parent752c1f0077c5f8361d9a166b8caaf7bff25562c1 (diff)
downloadqtmultimedia-406f76b90342bfcfb982ea40a2c3141dc8556dbd.tar.gz
Windows: fix build with -opengl desktop.
Task-number: QTBUG-50510 Change-Id: Ide1b58061d0fcdd5caf8597af8cfaec2483d712b Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
-rw-r--r--src/plugins/common/evr/evrd3dpresentengine.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/common/evr/evrd3dpresentengine.h b/src/plugins/common/evr/evrd3dpresentengine.h
index f3bbb8b3e..b5ed4fb6c 100644
--- a/src/plugins/common/evr/evrd3dpresentengine.h
+++ b/src/plugins/common/evr/evrd3dpresentengine.h
@@ -34,13 +34,14 @@
#ifndef EVRD3DPRESENTENGINE_H
#define EVRD3DPRESENTENGINE_H
-#include <EGL/egl.h>
#include <QMutex>
-#include <d3d9types.h>
#include <QVideoSurfaceFormat>
+#include <d3d9.h>
+
#if defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_DYNAMIC)
-#define MAYBE_ANGLE
+# include <EGL/egl.h>
+# define MAYBE_ANGLE
#endif
QT_BEGIN_NAMESPACE