Windows: fix build with -opengl desktop.

Task-number: QTBUG-50510
Change-Id: Ide1b58061d0fcdd5caf8597af8cfaec2483d712b
Reviewed-by: Karsten Heimrich <karsten.heimrich@theqtcompany.com>
This commit is contained in:
Yoann Lopes
2016-01-18 14:17:24 +01:00
parent 752c1f0077
commit 406f76b903

View File

@@ -34,13 +34,14 @@
#ifndef EVRD3DPRESENTENGINE_H #ifndef EVRD3DPRESENTENGINE_H
#define EVRD3DPRESENTENGINE_H #define EVRD3DPRESENTENGINE_H
#include <EGL/egl.h>
#include <QMutex> #include <QMutex>
#include <d3d9types.h>
#include <QVideoSurfaceFormat> #include <QVideoSurfaceFormat>
#include <d3d9.h>
#if defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_DYNAMIC) #if defined(QT_OPENGL_ES_2) || defined(QT_OPENGL_DYNAMIC)
#define MAYBE_ANGLE # include <EGL/egl.h>
# define MAYBE_ANGLE
#endif #endif
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE