diff options
author | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-05-28 13:23:50 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2020-05-28 17:40:56 +0200 |
commit | 37e3e759fb7c6209d7b5d81edf690a48914e6829 (patch) | |
tree | 00d4f0fdb34b73d46e23a4306ff662bb47dd8885 /src/multimediawidgets | |
parent | 75a27a1ab03801bf040c6f901d5dc3af2434b91e (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.cpp | 6 |
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; |