summaryrefslogtreecommitdiffstats
path: root/src/multimediawidgets
diff options
context:
space:
mode:
authorVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-05-28 13:23:50 +0200
committerVaL Doroshchuk <valentyn.doroshchuk@qt.io>2020-05-28 17:40:56 +0200
commit37e3e759fb7c6209d7b5d81edf690a48914e6829 (patch)
tree00d4f0fdb34b73d46e23a4306ff662bb47dd8885 /src/multimediawidgets
parent75a27a1ab03801bf040c6f901d5dc3af2434b91e (diff)
Remove ANGLE
Since it is already removed from qtbase Change-Id: If3a8169705b57d2e39167e2f718524cf3fe8bb1e Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/multimediawidgets')
-rw-r--r--src/multimediawidgets/qpaintervideosurface.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/multimediawidgets/qpaintervideosurface.cpp b/src/multimediawidgets/qpaintervideosurface.cpp
index 590864c7e..6ba7cff02 100644
--- a/src/multimediawidgets/qpaintervideosurface.cpp
+++ b/src/multimediawidgets/qpaintervideosurface.cpp
@@ -44,7 +44,6 @@
#include <qpainter.h>
#include <qvariant.h>
#include <qvideosurfaceformat.h>
-#include <private/qmediaopenglhelper_p.h>
#if QT_CONFIG(opengl)
#include <QOpenGLContext>
@@ -278,9 +277,8 @@ protected:
void initYv12TextureInfo(const QSize &size);
bool needsSwizzling(const QVideoSurfaceFormat &format) const {
- return !QMediaOpenGLHelper::isANGLE()
- && (format.pixelFormat() == QVideoFrame::Format_RGB32
- || format.pixelFormat() == QVideoFrame::Format_ARGB32);
+ return format.pixelFormat() == QVideoFrame::Format_RGB32
+ || format.pixelFormat() == QVideoFrame::Format_ARGB32;
}
QList<QVideoFrame::PixelFormat> m_imagePixelFormats;